Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Buffering vs Begin..End Transaction
Message
From
18/12/1999 19:01:54
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00305569
Message ID:
00305735
Views:
32
If you use remote view then IMO buffering (table buffering) itself is enough. If you run some processes on server, then you may use transaction within stored procedure you call there.

>Hi Edward and also others
>
>The very problem that I have when using the combination of the two is that it gives an intermetent error i.e. "wait...record is not available" which forces the user to reset the computer or end the task. This often occurs when two or more workstation runs the same module and clicked simultaneously the SAVE button that have the BEGIN...TABLEUPDATE..END TRANS codes. As I have said in my previous message, I just eliminated the BEGIN...END TRANS and everything runs smoothly. The BEGIN...END TRANS is very important in a C/S especially in an enterprise environment which have hundreds of users using the application. Any work around on this so far?
>
>
>>I see nothing weird here. Transaction and Buffering are different species. That's another story that when we use BEGIN TRAN then VFP itself will create something like a buffer internally (it's just a guess), but again it's internal code and not a programmer responsibility.
>>
>>>Hi, Jim, jess, Edward-
>>>
>>>I was under the same assumption that transactions weren't valid for unbuffered tables, but in fact you can use transactions with unbuffered tables.
>>>
>>>Of course all the processing has to occur within the transaction, and so it makes no sense to me to use them. But, it is valid. Weird.
>>>
>>>>>>>Correct me if I am wrong, transactions has been around since fox2.x and at that time no such thing as buffering feature. If there is, then there could be a different implementation in VFP.
>>>>>>
>>>>>>Transactions were totally new to VFP 3.0.
>>>>>
>>>>>Do you want to say that if buffering=1, then transactions are prohibited? Should VFP raise some error in this case?
>>>>
>>>>If I recall the docs correctly, yes that is what I am saying. Of course looking just now I could not find any reference that asys that, it does say that the atbles must be in a database though.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform