Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert Append/Replace to Transaction
Message
From
24/06/2003 15:42:34
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
24/06/2003 08:20:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00803033
Message ID:
00803470
Views:
8
>Thanks for repsonse.
>
>I read the help file but was not sure if Begin/End Transaction, Tableupdate, Rollback would work. In particular I want to be sure data is save, if not tell the user and give them the opertunity to try again or cancel.
>
>This is existing code so I am adding this feature.

As I wrote, the main purpose of transactions is to ensure "all or nothing" is saved, for several tables.

For safety, you should also use FLUSH, to save buffers at the OS-level - and disable the write-cache, if you happen to have one.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform