Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Count number
Message
De
22/02/2000 01:33:51
 
 
À
22/02/2000 01:19:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00335161
Message ID:
00335263
Vues:
16
>>I have tried Recno( ), however it comes up with the record number of the underlying table record, not the record number of the cursor. I think it was from there. It wasn't a sequential series of numbers anyhow.
>
>I would suggest using RecNo(). Are you positive you are doing Recno() on the cursor? Maybe try a NoFilter on the end of the SQL SELECT? If you need to, do this, but you sohuldn't have to:
>
>private pnRec
>pnRec = 0
>
>select NextRec() as rec, * .....
>
>function nextrec
>return pnRec + 1


If the table is ordered the Recno( ) will not work, i.e., what is in the count column is not the same as the cursor record number. This is also so with NoFilter at the end. I will try the function.

Thanks for your help.

PB
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform