PC Review


Reply
Thread Tools Rate Thread

Change Start Form

 
 
Ripper
Guest
Posts: n/a
 
      1st Mar 2010
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.
--
Thanks As Always
Rip
 
Reply With Quote
 
 
 
 
Daryl S
Guest
Posts: n/a
 
      1st Mar 2010
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.

--
Daryl S


"Ripper" wrote:

> 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.
> --
> Thanks As Always
> Rip

 
Reply With Quote
 
Ripper
Guest
Posts: n/a
 
      1st Mar 2010
What a great idea. Thanks!
--
Thanks As Always
Rip


"Daryl S" wrote:

> 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.
>
> --
> Daryl S
>
>
> "Ripper" wrote:
>
> > 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.
> > --
> > Thanks As Always
> > Rip

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Application start-up events without start-up form John Microsoft VB .NET 4 25th Apr 2008 07:29 AM
Application start-up events without start-up form John Microsoft Dot NET Framework Forms 4 25th Apr 2008 07:29 AM
Change Start Up options at Start Up Peter Hibbs Microsoft Access Forms 6 15th Aug 2007 10:59 PM
Change Start and Run icons in Classic Start Menu ikirov@gmail.com Windows XP Customization 2 5th Dec 2006 08:44 AM
Why does Outlook 2003 Contact Form change with regional Unicode change? Jon Microsoft Outlook Contacts 0 26th Jul 2004 03:45 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:02 AM.