chpicker
Programmer
- Apr 10, 2001
- 1,316
I'm getting this error seemingly randomly ever since I made a new version of the software live. The line number that it is happening on is this line:
[tt]
USE (cTable) IN 0 ALIAS zone1 NODATA
[/tt]
cTable contains one of 2 names: either "ridedata!calls_dispatch" or "ridedata!calls_vehnum". These refer to views stored in the database.
Looking up the MSDN help on this error, it gives 3 possible causes for this error. The second and third aren't possible (no one is modifying the view), which leaves me with the first one:
"Visual FoxPro is accessing records temporarily in response to another user’s actions. Wait a few minutes and try again."
Well, I can certainly understand the "wait a few minutes and try again", but what the heck does the first sentence mean? I can't make any sense out of it whatsoever.
Does this mean that more than one user is trying to open the view at the same time? I know more than one user can HAVE it open at the same time, but perhaps trying to open it at the same time is the problem. Does Visual FoxPro not allow this? Is it safe to just trap this error and retry?
On the other hand, if this IS the problem, it might just break my code. I might have to re-do this part of the program without a view, but rather just use a SELECT statement with a relation to the original table for updates. That will take awhile...
Ian
[tt]
USE (cTable) IN 0 ALIAS zone1 NODATA
[/tt]
cTable contains one of 2 names: either "ridedata!calls_dispatch" or "ridedata!calls_vehnum". These refer to views stored in the database.
Looking up the MSDN help on this error, it gives 3 possible causes for this error. The second and third aren't possible (no one is modifying the view), which leaves me with the first one:
"Visual FoxPro is accessing records temporarily in response to another user’s actions. Wait a few minutes and try again."
Well, I can certainly understand the "wait a few minutes and try again", but what the heck does the first sentence mean? I can't make any sense out of it whatsoever.
Does this mean that more than one user is trying to open the view at the same time? I know more than one user can HAVE it open at the same time, but perhaps trying to open it at the same time is the problem. Does Visual FoxPro not allow this? Is it safe to just trap this error and retry?
On the other hand, if this IS the problem, it might just break my code. I might have to re-do this part of the program without a view, but rather just use a SELECT statement with a relation to the original table for updates. That will take awhile...
Ian