Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to avoid TableUpdate() to move the pointer ?
Message
From
01/02/1999 12:49:40
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00182430
Message ID:
00182577
Views:
13
>Hello everybody,
>When you are using table buffering, that is, buffering=5 or
>buffering =3, after updating several records and doing a
>TableUpdate(.t.), the cursor is moved to the last record
>mdified, I want the cursor to stay where it is without hav
>having to doit manually.

If all updates are buffered, than before tableupdate() your recno() will show negative numbers (buffered records have recno from -1,-2 .. and so on).
And after tableupdate all those negative records are gone, so you should save your recno BEFORE changing the records...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform