Change Start Form

R

Ripper

Is there a way to change the form that opens at startup with a macro? Right
now frmMain opens when the database starts. However, after a drop dead date
I want to lock out the main form and display another.
 
D

Daryl S

Ripper -

You could not define the start-up form, but instead set up an AutoExec Macro
that checks the date and opens either form depending on the date.

Or, you can add code to the Open event of frmMain. If you are past the
drop-dead date, then open the other form and close frmMain.
 

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