Not why I am getting this error message.
Debug highlights on DoCmd.Close "Welcome"
Of course when I just use DoCmd.Close the form that just opened is closes.
I really just want to open the frmVisitorlog and close the Welcome forms. I even tried to reverse the two lines and I still get the same message.
How can I fix this?
Private Sub Command21_Click()