Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transaction in Visual Foxpro
Message
From
03/01/2002 07:39:10
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00600175
Message ID:
00600195
Views:
26
Are you talkin about the FP connectivity kit? if so this has to connect to sqlserver/oracle/etc..

>>In additional transactions only work for tables that belong to a database not over free tables.
>
>Not completely true IMO; in the earlier years of FoxPro (I think it was even FoxBase) it came with some additional Libraries that provided for just the same Begin - and End Transaction of today. Don't ask me whether this 'd work for VFP tables ...
>
>Peter
>
>
>
>>
>>>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
>>>
Alexandre Palma
Senior Application Architect
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform