Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to avoid TableUpdate() to move the pointer ?
Message
 
To
02/02/1999 11:26:48
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00182430
Message ID:
00183022
Views:
18
>OIC, now, Luis. When you issue the TABLEUPDATE, are you issuing it to update all records or just the current record? IOW, are you issuing:
>
TABLEUPDATE( <b>0,</b>, .T.[.F.][, cAlias])
>
>
I am updating all records with TABLEUPDATE(.T.). this code was originally
in 3.0b,now is running in 5.0a, as you know, the sintax for TABLEUPDATE changed in 5.0, but it recognizes TABLEUPDATE(.T.) from 3.0b.
I guess that is the way it works and it seems to me that the
explanation in the help file if not very clear.

It says :
"TABLEUPDATE( ) returns false (.F.). If you specify 0 or 1 for nRow, the record pointer remains on the record where changes could not be committed and can issue AERROR( ) to determine why the changes could not be commited."

It doesn't say that the pointer remains in the last record updated,
see what I mean ?
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform