Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VCR buttons
Message
De
27/05/2003 15:58:12
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00793208
Message ID:
00793244
Vues:
31
>>Hi All,
>>I seem to remember a trick when using a VCR button setup to scroll thru a set of records. A person doesn't use skip, but something else. I think it had something to do with the recno() in the cursor/table. Does anyone know?
>>Thanks,
>
>You can do this with RECNO() under two conditions:
>1. Table/cursor is viewed in natural (RECNO()) order
>2. There's no deleted records and no filter set
>
First - GOTO 1
>Prev - RECNO() > 1 THEN GOTO (RECNO()-1)
>NEXT - RECNO()<RECCOUNT() THEN GOTO (RECNO()+1)
>LAST - GOTO (RECCOUNT())
Thanks Sergey!
Winn Pauley
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform