Harvey,
The program he is using is Not a multi user program so they all use it one at a time.
I assume you have thought of this, but maybe one user is trying to run the program when it is already in use. The EXE would load but the DBFs would not open if they are already open in EXCLUSIVE use. This would error out.
What is SET DEFAULT TO (cDbfDir)
cDbfDir ????
This sets the directory where the data files are located. If they are in the same directory as the EXE then you can use:
set default to (cFilePath( GetModuleFileName( GetInstance() ) ))
This is better since the directory is not hard-coded so if the program is installed in another directory that the one intended, it will still work.
By default the EXE's directory is the one that is supposed to be used when the app looks for the dbf's (when no SET DEFAULT is used). However, I have had this fail a few times and never when I use SET DEFAULT TO.
Regards,
James