General information
Title:
Using the foxuser.dbf
In my application I make use of the informtion stored in the foxuser.dbf, and therefore have the command line:
use (sys(2005)) again shared alias (tcCursor)
everything works OK until the user runs two sessions of the application because then I get the error message 'file in use'. How can I open the foxuser.dbf in two intances of the app or detect that the file is already in use?
I tried the following to no avail as for some reason it still generates an error?
tcError = ON("ERROR")
ON ERROR glError = .T.
*-- Use the resouce file again
USE (SYS(2005)) AGAIN SHARED ALIAS (lcCursor)
*-- Restore the error handling routine
ON ERROR &tcError
Thanks, Mace
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only