K
Kevin
Hi all,
I'm doing a database on countries and I have a form that has a combo box
from which individual countries can be selected, and fields which are
filtered according to the country selected. I wanted to display pdf files so
I included a command button which when clicked does this, using the following
code:
Private Sub Command192_Click()
Dim strFileName As String
strFileName = "J:\leg er\er projects\Countries by geographical
regions\SEAPFE\Mongolia\Note for the files\" & Me.country & ".pdf"
Application.FollowHyperlink strFileName
End Sub
The pdf dcouments are contained in a sepatrate folder for each country
("Mongolia" here). I would now like to add another control button which opens
the folder containing all the "Notes for the Files" pdf documents, but which
filters according to the country selected in the combo box. So if I select
"Canada" in the combo box, then when I click on the control button the folder
for Canada is opened, and not just the folder for "Mongolia" everytime.
Any help on this would be appreciated. Thanks in advance.
I'm doing a database on countries and I have a form that has a combo box
from which individual countries can be selected, and fields which are
filtered according to the country selected. I wanted to display pdf files so
I included a command button which when clicked does this, using the following
code:
Private Sub Command192_Click()
Dim strFileName As String
strFileName = "J:\leg er\er projects\Countries by geographical
regions\SEAPFE\Mongolia\Note for the files\" & Me.country & ".pdf"
Application.FollowHyperlink strFileName
End Sub
The pdf dcouments are contained in a sepatrate folder for each country
("Mongolia" here). I would now like to add another control button which opens
the folder containing all the "Notes for the Files" pdf documents, but which
filters according to the country selected in the combo box. So if I select
"Canada" in the combo box, then when I click on the control button the folder
for Canada is opened, and not just the folder for "Mongolia" everytime.
Any help on this would be appreciated. Thanks in advance.