General information
Category:
Coding, syntax & commands
>Trying to get a label to say something to the effect of "Record x of n" where x = the current record and n = the number of records in the table. I used the code below, but there is a syntax error.
>
>reclabel.caption = "Record" +(recno() + " of " + reccount())
>
>Please help, thanks
Try:
RecLabel.Caption = "Record "+STR(RECNO())+" of " + STR(RECCOUNT())
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only