Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strings
Message
De
18/09/1998 14:57:59
 
 
À
18/09/1998 14:55:29
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00138393
Message ID:
00138395
Vues:
11
>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
>
>Jim

Label.Caption="Record "+alltrim(str(recno()))+ " of "+alltrim(str(reccount()))
Also note, that Reccount will count all records including deleted, so you may want to calculate total separately using COUNT.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform