franksirvent
Programmer
Hi
I have several 'virtual' servers in my laptop to test different databases/environments.
I have an option within the Main Menu of the database that changes the Q: letter like this:
Shell ("SUBST Q: /D")
Shell ("SUBST Q: C:\BCN_DIR")
This works PERFECTLY .
The problem is that when I am using the supposely new Q:\directory, the data shown is still from 'previous' directory !!!!
After going crazy for a few hours, I found that the 'previous' directory still has some .LDB files open.
Any ideas how to, just before changing the virtual letter/directory, close all the link to current directory ?
Thanks
I have several 'virtual' servers in my laptop to test different databases/environments.
I have an option within the Main Menu of the database that changes the Q: letter like this:
Shell ("SUBST Q: /D")
Shell ("SUBST Q: C:\BCN_DIR")
This works PERFECTLY .
The problem is that when I am using the supposely new Q:\directory, the data shown is still from 'previous' directory !!!!
After going crazy for a few hours, I found that the 'previous' directory still has some .LDB files open.
Any ideas how to, just before changing the virtual letter/directory, close all the link to current directory ?
Thanks