Link to home
Start Free TrialLog in
Avatar of Shawn
ShawnFlag for Canada

asked on

dmax syntax error

I am getting a syntax error with the line of code below. the field ClientCode is a text field eg CTR101.

Any ideas where I am going wrong?

newName = DMax("[GroupName]", "tblTranslationContractGroup", "[ClientCode] = '" & [Forms]![frmtrad_commandes2].ClientCode) & "'"
ASKER CERTIFIED SOLUTION
Avatar of jerryb30
jerryb30
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Shawn

ASKER

wow. my bad. thanks