I have a database that contains three columns, FName(File Name), FPath(File Location) and Loc1(The full path to the file)Loc1 is concatenated from FPath and FName in that order.
I have a user form that allows the user to search for a file, this is then displayed on the user form, FName and Loc1.
On the userform is a command button
What I want to do, is for the user to be able to open the document shown in Loc1 from the command button. The application.followhyperlink seemed the way to go. but I cannot find how to link that with the Loc1 field content.
I have searched the forum on access vba, but have not been able to locate anything that addresses what I am looking for.
Any guidance would be appreciated
'If at first you don't succeed, then your hammer is below specifications'
I have a user form that allows the user to search for a file, this is then displayed on the user form, FName and Loc1.
On the userform is a command button
What I want to do, is for the user to be able to open the document shown in Loc1 from the command button. The application.followhyperlink seemed the way to go. but I cannot find how to link that with the Loc1 field content.
I have searched the forum on access vba, but have not been able to locate anything that addresses what I am looking for.
Any guidance would be appreciated
'If at first you don't succeed, then your hammer is below specifications'