Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
'Record in use' error...
Message
From
16/10/1998 14:51:59
 
 
To
16/10/1998 14:41:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00147351
Message ID:
00147645
Views:
27
Hi Nancy,

>INSERT INTO doesn't lock anything at all, AFAIK...That's what TABLEUPDATE is for. What style of buffering do you use?

The VFP documentation states a list of commands that "automatically" handle locking while updating, and INSERT INTO is one of them. Perhjaps I have misread the docs, but I have never tried to lock anything on an INSERT INTO in a multi-user environment before and have never had this problem.

In terms of buffering, I am using pessamistic row buffing. As stated in the original post, I use an INSERT INTO to create the record (with buffering on), then issue an TABLEUPDATE() to write through to the database.

Phil
Phil
_____________________________
Phil Miles
http://www.philmiles.com
phil@philmiles.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform