I need to use the name of the database that I am linked to in some File path values.
My program creates different folders for different companies so if you create a new company called test it creates a folder called Test with a new company database called test.mdb in it and then links to that new company. It also creates a Test\Pictures folder. I want to be able to use the Test value to tell the program where to look for the pictures.
LinkedDatabase = test
Application.CurrentProject.Path LinkedDatabase & "\Pictures"
Hopefully this makes sense.
My program creates different folders for different companies so if you create a new company called test it creates a folder called Test with a new company database called test.mdb in it and then links to that new company. It also creates a Test\Pictures folder. I want to be able to use the Test value to tell the program where to look for the pictures.
LinkedDatabase = test
Application.CurrentProject.Path LinkedDatabase & "\Pictures"
Hopefully this makes sense.