Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A question from a beginner
Message
 
To
06/07/2001 11:26:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00527489
Message ID:
00527493
Views:
24
Add a label to your form. Then, edit this label's refresh method an add the following code to it: this.caption = transform( recno() )

You can probably optmize this code to update the label's caption only when it's really required (e.g. each time you move the record pointer) as opposed to every single refresh, but that it's up to you.

>Hello,
>This seems so simple to me, but I cannot seem to get it to work...I have created a form that contains text boxes and im using navigation buttons to flip through a table displaying the contents in the textboxes. I simply want to display the record number I am on suchs as Record Number "1" of "20". I'm pretty sure I need to use the recno() command, but im not sure where to place this.
>
>Thanks in advance for any advice you can give me :)
Hector Correa
Previous
Reply
Map
View

Click here to load this message in the networking platform