Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
View -> Record is not locked error
Message
From
23/06/2003 00:41:59
 
 
To
22/06/2003 23:02:26
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00802786
Message ID:
00802794
Views:
21
Basically, I get the same error -> "Record is not locked"

What I can't figure out is why I am getting the error.

If I perform the same operations (deleting and adding records)on the same view using the command window and then perform the TABLUPDATE(2,.T.) it works fine.

Any ideas why I am getting this error???

Regards
Geoff Scott

>>Hi
>>
>>I have a view which has buffering set to optimistic table buffering.
>>
>>When I try to do a
>>
tableupdate(2,.T.,'v_myview')
>>it returns .F. and when I look at MESSAGE() is see the error "Record is not locked"
>>
>>MULITLOCKS are ON
>>
>>Why am I getting this error???
>>
>>Regards
>>Geoff Scott
>
>I learned to get error information with aerror(). This copies information about the latest error to an array. Element #1 (error number) and #2 (Error message) are the most relevant ones. Can you try whether this give you an equivalent error message?
May all your weeds be wildflowers
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform