I am looking to display a form depending on the date.
What i have currently in a module is:
Option Compare Database
If Date = "23/12/2009" Or "23/12/2009" Or "24/12/2009" Then
DoCmd.OpenForm "frmSplashChristmas"
Else
DoCmd.OpenFrom "frmSplash"
Will this work if i run this module on the startup of the database as this did not work when it was on the form load of the frmSplash.
Thanks!
What i have currently in a module is:
Option Compare Database
If Date = "23/12/2009" Or "23/12/2009" Or "24/12/2009" Then
DoCmd.OpenForm "frmSplashChristmas"
Else
DoCmd.OpenFrom "frmSplash"
Will this work if i run this module on the startup of the database as this did not work when it was on the form load of the frmSplash.
Thanks!