can I use a hyperlink to open a specific form?

G

Guest

I created a hyperlink that opens that database itself but really need it to
open a specific form within that databse.
 
G

Guest

You can use reference from MDB1 to MDB2, so MDB1 will recognise all the
functions in MDB2.
Open MDB1, when you are in code (any where), select tools, reference. browse
and select MDB2.
You will notice that MDB1 recognise all the functions in the modules, but it
wont recognise forms, reports, macros etc, so if for example you want to open
a form MDB2 From MDB1, create a function in MDB2 that open the form, and then
call that
function from MDB1

That way you wont open another MDB, and it will look like the form is
located in MDB1
 
G

Guest

Maybe you can use command line arguments in the hyperlink when you launch.
Use /cmd STARTFORM. Then, in your AUTOEXEC or startup routine, use the
"Command" function to return the argument, and open the form desired.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top