When I do an DoCmd.OpenForm in a command button, I get a missing operator error in the criteria. Seems obvious to me there is no missing operator in the criteria I use: DoCmd.OpenForm "frm3Info",,,"[OrgID]=" & Me![OrgID]
I use similar statements in other forms that work fine. The only big difference I can see is that this particular DoCmd is in a For Each loop with an embedded If...Then that goes thru the forms collection. Any ideas why Access thinks this is missing an operator when in other forms it works fine?
I use similar statements in other forms that work fine. The only big difference I can see is that this particular DoCmd is in a For Each loop with an embedded If...Then that goes thru the forms collection. Any ideas why Access thinks this is missing an operator when in other forms it works fine?