Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GO EOF() Does Not Work
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00117869
Message ID:
00119423
Vues:
19
>>>I need to put a table at EOF() upon using it. What is the syntax for this?<
>>
>>SEEK("EOF()", TableName, SomeTag) of course, <s>.
>>The table must be indexed for this to work, so it's more fun than useful.
>
>Thanks a lot. -CH.

Chuck,

There are a couple of problems with the SEEK() aopproach you suggest. 1) the index must be on EOF() whioch is not a really solid index to keep around. Secondly the return value of EOF() will be sought and you will stay on the same record you astarted on. Thatis if the table is not at EOF() you will be seeking .F., if it is at eof then you're seeking .T..

The sure way to put a table at eof() is;
GO BOTTOM
IF NOT EOF()
   SKIP
ENDIF
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform