Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record lock problem
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Record lock problem
Miscellaneous
Thread ID:
00730776
Message ID:
00730776
Views:
40
I'm a newbie working on my first multi-user app. and seem to be having a problem with Rlock(). The code I use to lock the record is something to the effect of:
? Rlock('Recno()', 'mytable')
If Rlock()
....
......
Unlock('Recno()', 'mytable')
else
wait 'Record is in use' wind
endif

If I run the above code on Recn() = 5 and try to lock Recn() = 6 on another workstation, the lock fails.
Any ideas?
Thanks.
Next
Reply
Map
View

Click here to load this message in the networking platform