Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transaction Methodology
Message
From
18/10/1999 16:54:39
 
 
To
18/10/1999 14:37:24
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00277296
Message ID:
00277874
Views:
17
I suppose... :-)

>Well, maybe to summarize, we could say that using TRANSACTIONS in the manner I've described (as soon as data changes on the form) could be done with no problems if using pessimistic buffering, but it's not a good idea when using optimistic buffering. Is that a fair statement to make?
>
>-Bonnie
>
>>>Hi Erik,
>>>
>>>Your answer about BEGIN TRANSACTIONs locking all underlying records (in addition to your discussion with John in another topic about using TRANSACTIONs similar to the way I have been mentioning) got me thinking about this again and I have another question ... does this "underlying record-locking" occur when you are using views to access the data or is it only when accessing the data directly. Perhaps I don't understand the exact mechanism of the way views actually work, but I was under the impression that the BEGIN TRANSACTION would only affect the view and not the tables that the view is based on. Am I way off base on this concept?
>>>
>>>TIA,
>>>-Bonnie
>>>
>>
>>After the view is TABLEUPDATEd(), the table records that were updated are locked until the transaction ends.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform