Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why lock() fails.
Message
From
19/10/2001 16:14:07
 
 
To
19/10/2001 07:34:51
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00570423
Message ID:
00571110
Views:
28
I cannot use TABLEUPDATE() since this is temporary cursor. I use this cursor to collect document rows.
For saving document, I use COPY TO and TABLEREVERT()

I added LOCK() command because without lock command, the same error occurs in REPLACE command. Using LOCK() I can output a friendly error message. However, error still occurs.


>When using buffering, rlock() isn't required any more. VFP will do all required locking implicitly.
>
>Just do a TableUpdate(), and check the result.
>
>
>if not TableUpdate(...)
>  aerror(...)
>  MessageBox(...)
>endif
>
>
>HTH, Hilmar.
Andrus
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform