HI,
I want to get the location of the database I am in.
I have a front end back end setup and I want to allow the user to copy them to wherever they want, and then to link the backend using code.
I have found the property currentproject.path which almost does what I want, but this returns the value for example
c:\documents\database\
what I actually need is \\sues computer\user\sue\documents\database
or similar
This is because this is a networked database and can be used from a number of PC's, each PC has a shortcut to the same front end and of course they all use the same backend.
Is there any way to get this information. I do have some code that lets me ask the user to find the location, and as long as I give them instructions to start from the machine name this should work, but it is potentially very messy.
Thanks for your help
Sue
I want to get the location of the database I am in.
I have a front end back end setup and I want to allow the user to copy them to wherever they want, and then to link the backend using code.
I have found the property currentproject.path which almost does what I want, but this returns the value for example
c:\documents\database\
what I actually need is \\sues computer\user\sue\documents\database
or similar
This is because this is a networked database and can be used from a number of PC's, each PC has a shortcut to the same front end and of course they all use the same backend.
Is there any way to get this information. I do have some code that lets me ask the user to find the location, and as long as I give them instructions to start from the machine name this should work, but it is potentially very messy.
Thanks for your help
Sue