Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File is in use by another user
Message
 
To
29/07/1996 23:12:57
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00004704
Message ID:
00004839
Views:
33
>>Do the four programs USE the same files? And do they have the tables open or do you leave it to the SQL to USE the tables? I had that problem (more common though) until I put all the tables I touched into the DE and made sure that exclusive was .f.. One more thing... are you running Vshare.386?
>
>There is no interface so no form so no DE. This is the WWW server control by FoxPro. It runs on NT so I don't think VShare is applicable. Tables are open on the fly. If first open the table and then I do INSERT INTO.


So what you're saying is that once about every 4000 times the program executes, that different iterations of this program try to modify the same data file at the same time, causing an error?

If so, what you need is a way to implement semaphores in FoxPro.

If this is the problem, I have a very elegant solution.

However, it is rather detailed and I don't want to type out a dissertation style thing unless you need it (which, if you do, I will be more than happy to help you implement it!)

Craig
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform