Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tableupdate
Message
 
To
19/02/1999 15:54:45
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00189486
Message ID:
00189747
Views:
9
>delete
>* code to go to next record depending on BOF and EOF
>=tableupdate(.T.,.T.,'tablename')
>* refresh and other code

Claude,

The TableUpdate is changing the records that exist and that is why you are having problems. Before you position the record issue the TableUpdate to commit the deletion so your code won't find that record to position on.

Also, check the return value form TableUpdate. The second argument is Force, and it controls whether the update will be forced past an update conflict, that si a record that ahs been changed by another user. Ther are many other things that can cause a tableupdate to fail (the server is down, the user doesn;t ahve right in the directory, the network cable is broken, etc..) and you need to recover from these situations
Previous
Reply
Map
View

Click here to load this message in the networking platform