Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transaction in Visual Foxpro
Message
From
03/01/2002 07:02:06
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
03/01/2002 06:56:11
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00600175
Message ID:
00600180
Views:
21
Transactions are used to save "all or nothing", usually in more than one table.

Typical scenario:
begin transaction
if TableUpdate(.T., .F., "Table1") and TableUpdate(.T., .F., "Table2")
  end transaction
else
  rollback
endif
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
Next
Reply
Map
View

Click here to load this message in the networking platform