I'm trying to create a simple embedded macro for a checkbox control on a form [Company?]. The default value for this checkbox is No. I want to write an If statement that basically says "If[Company?] = Yes, then GotoControl[CompanyorNameCombo], Else GotoControl[CustomerFN]
Although the checkbox field label and the control itself IS named [Company?] in the table and set as a Yes/No field, when I try to write the If statement I get an error that says "Microsoft Access cannot find the name 'Company?' you entered in the expression"
I can't figure out why not. That's the name of the control and it is included in the table and shows in the field list. Any ideas?
Although the checkbox field label and the control itself IS named [Company?] in the table and set as a Yes/No field, when I try to write the If statement I get an error that says "Microsoft Access cannot find the name 'Company?' you entered in the expression"
I can't figure out why not. That's the name of the control and it is included in the table and shows in the field list. Any ideas?