I'm using this for a back button, I have some code that sets a string during a form's Current event to the form name.
On the click of the back button I'm trying to run:
however this just gets me (printout in debug):Code:DoCmd.Close acForm, " & strCurrentPage & "
when I need:Code:DoCmd.Close acForm, frmAllProj
DoCmd.Close acForm, "frmAllProj"
Any suggestions on how to get those quotations in there? Is it just some syntax that i'm messing up? Thanks.