A
al416 via AccessMonster.com
Having a brain cramp.
I know its a simple syntax error, but why won't the following statement work
in VBA code?
LastAuditNumber = DMax("[AuditNumber]", "tblCARs", "[CARNumber] = MaxCAR1")
MaxCAR1 needs to enclosed in some kind of single or double quotes. right?
I know its a simple syntax error, but why won't the following statement work
in VBA code?
LastAuditNumber = DMax("[AuditNumber]", "tblCARs", "[CARNumber] = MaxCAR1")
MaxCAR1 needs to enclosed in some kind of single or double quotes. right?