Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with error
Message
From
28/12/1998 16:21:35
George Lee
Microcomputer Engineering Services, Llc
Huntington Beach, California, United States
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00170932
Message ID:
00170937
Views:
11
>Never mind ... sort of.
>
>I went back and re-checked the obvious, and I hadn't really fixed the fact that the second UDF moved the record pointer in the primary table, and issued an unlock command with it selected. I fixed that, and the error went away.
>
>I'm still confused though. "Record not locked?" "Record locked?" We're talking about a table buffer here, isn't it a cursor VFP's created in my workstation's memory? Don't I have "exclusive" use of it? Why is there a question of locking a record in the cursor before the TABLEUPDATE command?
>
>Still confused, but hey, the program works.
>
>Rich.

Optimistic buffering allows many different users on many different workstations access to the same table. And when you are getting ready to update the record(s) it must attempt at that time to get the record lock to prevent other users from updating at the same time. You are locking the actual data. You are not opening the table exclusively.

Dan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform