Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GO to a negative recno in a optimistic table buffered cu
Message
 
À
12/07/2005 09:12:58
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01031593
Message ID:
01031889
Vues:
10
Hi Hilmar,

>Are you using the LOCATE command? Perhaps you should use the GOTO command;

I prefer the LOCATE RECORD command, since it is as fast as the GOTO command. Additionally, it accepts the record number of the phantom record at EOF(), whereas GOTO raises an error in this case:
Create Cursor curTest (nField I)
Goto 1
Locate RECORD 1
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform