Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
INSERT INTO when locked
Message
 
To
11/07/1997 13:47:13
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00039533
Message ID:
00039557
Views:
37
>Sometimes, I have an INSERT INTO which generates "file is in used by another user" which result in a fail.
>
>I have SET REPROCESS TO 2 SECONDS.
>
>Does this mean that during that 2 seconds, the INSERT INTO was unable to lock the header?
>
>Should I be better to move this to SET REPROCESS TO 5 SECONDS?

To handle such situation I have the routine in my error handler which sets a 10-attempt loop with RETRY, and asks what to do after this (if it is still not locked).
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform