Autor Beitrag
mi-frank
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 44



BeitragVerfasst: Mi 01.03.06 11:07 
Hi,

weiß einfach nicht mehr weiter!! Bin solche Fehler (s. Thema) nämlich nicht gewohnt!

Hoff, ihr könnt mir mal wieder weiterhelfen!

Habe folgenden Quellcode
ausblenden Delphi-Quelltext
1:
2:
3:
   Text:= IntToStr(DS) + ' von ' + frmAzubiBeurteilungsbogen.tableBogen.RecordCount
   
   frmAzubiBeurteilungsbogen.edtDS.Text:=Text;


Moderiert von user profile iconraziel: Delphi-Tags hinzugefügt
Moderiert von user profile iconChristian S.: Topic aus Sonstiges (Delphi) verschoben am Mi 01.03.2006 um 22:46
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Mi 01.03.06 11:16 
Zitat:
ext:= IntToStr(DS) + ' von ' + frmAzubiBeurteilungsbogen.tableBogen.RecordCount

RecordCount ist ein Integer, du mußt also auch hier einen Typecast machen :IntToStr(frmAzubiBeurteilungsbogen.tableBogen.RecordCount)

_________________
Markus Kinzler.
adfontes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 82

Win7 (64bit), WinXP
Delphi 2010 Prof, Delphi XE2 (Trial)
BeitragVerfasst: Mi 01.03.06 11:17 
hi,

wie hast du "Text" und die anderen Variablen deklariert ?
frm...RecordCount sieht aber auch noch einem Integerwert aus, daher würde ich mal das probieren:

ausblenden Delphi-Quelltext
1:
2:
3:
var Text : String;

Text:=IntToStr(DS)+' von '+IntToStr(frmAzubiBeurteilungsbogen.tableBogen.RecordCount);


aber wie gesagt, poste mal bitte deine deklaration der verwendeten Variablen ;)

//Edit: mist, zu spät XD
mi-frank Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 44



BeitragVerfasst: Mi 01.03.06 13:43 
Danke,

lag wirklich am RecordCount!!!!