D
Doreen
I have an AutoExec macro that uses RunCode to run the following code:
Public Function StartDB()
Dim CheckLink As Boolean
CheckLink = True
DoCmd.OpenForm "fStartUp", acNormal, , , , , CheckLink
DoCmd.Close acForm, "fStartUp"
End Function
When I run the AutoExec macro by running the macro manually it works
fine. However, when it runs at database start up the OpenArgs value
does not get passed to the fStartUp form. It shows a Null value. I ran
across one post in 1998 where the same thing was happening but I saw
no resolution.
Can anyone point me in the right direction?
Thanks,
Doreen
Public Function StartDB()
Dim CheckLink As Boolean
CheckLink = True
DoCmd.OpenForm "fStartUp", acNormal, , , , , CheckLink
DoCmd.Close acForm, "fStartUp"
End Function
When I run the AutoExec macro by running the macro manually it works
fine. However, when it runs at database start up the OpenArgs value
does not get passed to the fStartUp form. It shows a Null value. I ran
across one post in 1998 where the same thing was happening but I saw
no resolution.
Can anyone point me in the right direction?
Thanks,
Doreen