Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GO to a negative recno in a optimistic table buffered cu
Message
 
To
12/07/2005 09:12:58
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01031593
Message ID:
01031889
Views:
11
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform