start database with another form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a database that has the main form as the start page. Can I create an
icon that will point to another form in this database as the start page. IE;
employee names form. I don't want the database to change the startup form.
Are there special switches I can use in the icon?

Thanks!
 
I have just tried it,
Create a shortcut to the second from
Place the following command in (On Open) event of the second form

DoCmd.Close acForm, "theStartupForm"

It works
Note:
** It will close the startup form when ever you open it.
** No error will be generated if the startup form was not opened
 
I have a database that has the main form as the start page. Can I create an
icon that will point to another form in this database as the start page. IE;
employee names form. I don't want the database to change the startup form.
Are there special switches I can use in the icon?

Thanks!

You can use the /X=macroname runtime switch to open the database
executing a specific macro (which could itself open a form or run
code).

John W. Vinson[MVP]
 
Back
Top