I would like to display the path folder to my BE files on the Startup form in a textbox, to ensure it is linked through the correct path to the correct folder.
I have tried the following code in the Open event on the Startup form, but unsuccessfully.
the path is usually c:\pisprg but maybe on the network also
Any suggestions?
I have tried the following code in the Open event on the Startup form, but unsuccessfully.
Code:
Dim strBEPath As String
strBEPath = DLookup("[Database]", "MSysObjects", "[ForeignName]='PisDataV3.0.accdb'")
Any suggestions?
Comment