Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strings
Message
From
18/09/1998 14:58:09
 
 
To
18/09/1998 14:55:29
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00138393
Message ID:
00138396
Views:
18
>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
Map
View

Click here to load this message in the networking platform