goldriverdancer
Registered User.
- Local time
- Tomorrow, 07:39
- Joined
- Jan 4, 2010
- Messages
- 13
Hi,
I have a main form where I would like to put a combo box that displays the file names for a particular record, and when the user clicks on a file name, that file will open. Based on suggestions on the net, I've created another table with a primary key, the file name, and the file path.
So far, I've tried to open the files by setting the row source of the combo box to the field [File Name] and the control source to the field [File Path], then using Application.FollowHyperlink "[Table1]![File Path]" on the AfterUpdate event of the combo box. This doesn't work though.
Can anyone point out what I'm doing wrong?
Thank you.
Stef
I have a main form where I would like to put a combo box that displays the file names for a particular record, and when the user clicks on a file name, that file will open. Based on suggestions on the net, I've created another table with a primary key, the file name, and the file path.
So far, I've tried to open the files by setting the row source of the combo box to the field [File Name] and the control source to the field [File Path], then using Application.FollowHyperlink "[Table1]![File Path]" on the AfterUpdate event of the combo box. This doesn't work though.
Can anyone point out what I'm doing wrong?
Thank you.
Stef