Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A question from a beginner
Message
 
À
06/07/2001 11:26:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00527489
Message ID:
00527493
Vues:
25
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform