Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SKIP independent of index order
Message
 
 
À
25/08/2003 14:53:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00823140
Message ID:
00823164
Vues:
23
Just add a slight modification of Yuri's code (I always use this precaution in my code):
lnNewRec = m.lnCurRec+1
if between(m.lnNewRec, 1, reccount())
   goto m.lnNewRec
else
   go bottom
endif
>I know that, but I need to move to EOF().
>When I use GO BOTTOM I use SKIP 1 to move to EOF(), but if I use GO nLastRec + 1 it would generate error.
>
>
>>Instead of skip you can use:
>>ln=recn()+1
>>go (ln)
>>
>>>Is there some way to ignore index order when I use SKIP command?
>>>
>>>I want always next record by number, not by index order.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform