Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question about FLOCK and REPROCESS
Message
From
15/02/2001 13:19:45
 
 
To
15/02/2001 12:59:08
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00476348
Message ID:
00476381
Views:
23
I just tested this and I don't understand the results:

SET DATASESSION TO 2
wait windows iif(flock("trtradm"), "lock OK", "lock not ok")

**Message displayed: Lock OK

SET DATASESSION TO 1
wait windows iif(flock("trtradm"), "lock OK", "lock not ok")

**Message Displayed: Lock not OK, very fast

SET DATASESSION TO 1
set reprocess to 100 seconds
wait windows iif(flock("trtradm"), "lock OK", "lock not ok")

** Message Displayed: Lock not OK, very fast it did not tried for 100 seconds for sure.


There must be something I don't do correctly but what?
Diane Robitaille eng.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform