Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Attempting to Lock......
Message
From
13/12/2000 17:21:18
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Attempting to Lock......
Miscellaneous
Thread ID:
00453123
Message ID:
00453123
Views:
65
I'm supporting a FPW 2.6 program which has the following line of code

DELETE WHILE agentcode=m.agentcode and ctrl_num=m.ctrl_num

When executing this line I get the message

"Attempting to Lock.......Press ESC to cancel" which stayed until I pressed ESC

There were two other users in the system who were using the file. Neither of them were on this particular record. The WHILE clause meant that only this record would have been deleted.

Adding a scope of

NEXT or
NEXT 10

didn't help. The message remained. Adding a scope of NEXT 1, however, let the line execute. Removing the WHILE clause so that it would work on just the one record also worked.

There are several tags on the file - none of them include DELETED() however.

Can anyone provide some information as to what Locks are attempted and why they fail in this environment??

TIA...........Rich
Next
Reply
Map
View

Click here to load this message in the networking platform