I'm created startup form and there is a button there for me to click and hide it and then open my next form. I used the following code. It hided startup form and open the switchboard form but I'm not able to do anything to the switchboard form because the cursor remain positioned in the startup form unless I closed it. It won't let me move to switchboard form. Also, this function when click hided the access application. Please let me know how to resolve these issues. Many thanks!
Option Compare Database
Function HideForm()
' Hide Startup form.
' Used in OnClick property of OK command button on Startup form.
DoCmd.minimize
DoCmd.OpenForm ("Main Switchboard")
End Function
Option Compare Database
Function HideForm()
' Hide Startup form.
' Used in OnClick property of OK command button on Startup form.
DoCmd.minimize
DoCmd.OpenForm ("Main Switchboard")
End Function