G
Guest
Hello,
I have a standard switchboard that I created with the Switchboard Manager.
One of the buttons I have on it is supposed to be a hyperlink to another
database. I tried to create it by choosing the command "Run Code" in the
Switchboard Item box, and typed the function name "OpenReportDb ().
The function "OpenReportDb" is in a module and is as follows:
Function OpenReportDb()
On Error GoTo OpenReportDb
Application.FollowHyperlink "P:\Pharmacy\report_tacl\Reports\reports.mdb"
Exit_OpenReportDb:
Exit Function
Err_OpenReportDb:
MsgBox Error$, 16, Prog$
Resume Exit_OpenReportDb
End Function
But when I then try to use that option button on the switchboard, it tells
me it cannot find the procedure "OpenReportDB ()". Any idea why this isn't
working?
Thank you in advance.
Janet
I have a standard switchboard that I created with the Switchboard Manager.
One of the buttons I have on it is supposed to be a hyperlink to another
database. I tried to create it by choosing the command "Run Code" in the
Switchboard Item box, and typed the function name "OpenReportDb ().
The function "OpenReportDb" is in a module and is as follows:
Function OpenReportDb()
On Error GoTo OpenReportDb
Application.FollowHyperlink "P:\Pharmacy\report_tacl\Reports\reports.mdb"
Exit_OpenReportDb:
Exit Function
Err_OpenReportDb:
MsgBox Error$, 16, Prog$
Resume Exit_OpenReportDb
End Function
But when I then try to use that option button on the switchboard, it tells
me it cannot find the procedure "OpenReportDB ()". Any idea why this isn't
working?
Thank you in advance.
Janet