K
Ken Warthen
In an Access 2007 database, I have a login form that processes a user name
and password and then opens a Switchboard form. I created a routine to close
the login form that is called from the On Activate event of the Switchboard
form. Whenever I run the program an error 2585 is generated with the
statement "This action can't be carried out while processing a form or
report." Here's the offending line of code: DoCmd.Close ObjectType:=acForm,
ObjectName:=strFormName
The strFormName value is "frmLogin". Can anyone tell me what I'm doing
wrong, or if there is a better way to close the login form once the
Switcboard form is displayed?
TIA,
Ken Warthen
(e-mail address removed)
and password and then opens a Switchboard form. I created a routine to close
the login form that is called from the On Activate event of the Switchboard
form. Whenever I run the program an error 2585 is generated with the
statement "This action can't be carried out while processing a form or
report." Here's the offending line of code: DoCmd.Close ObjectType:=acForm,
ObjectName:=strFormName
The strFormName value is "frmLogin". Can anyone tell me what I'm doing
wrong, or if there is a better way to close the login form once the
Switcboard form is displayed?
TIA,
Ken Warthen
(e-mail address removed)