Thanks for the replies, I'll have a go an duplicating the effect with the smallest mdb and posting here.
Ajax, my OpenArgs is never null as the string is made up -
Code:
RetVal1 = Prefix & "$$" & theSerials & "$$" & SA & "$$" & ThisRef & "$$" & Side & "$$" & PrefixSACol
DoCmd.OpenForm "frmSA", acNormal, , , , acDialog, RetVal1
Even if all the variables were reset or null, the $$ delimiters would still exist. I want to use those
values in the Form module and don't know any better way to send them in.
I cannot figure how RetVal1 can even be null, or why it's OK the 2nd time around. It's like Access is refusing
to work properly until some condition is met - and that condition is Save and rerun. Or sometimes just rerun.