Solved

dmax syntax error

Posted on 2013-02-04
2
290 Views
Last Modified: 2013-02-04
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) & "'"
0
Comment
Question by:Shawn
2 Comments
 
LVL 26

Accepted Solution

by:
jerryb30 earned 500 total points
ID: 38853403
newName = DMax("[GroupName]", "tblTranslationContractGroup", "[ClientCode] = '" & [Forms]![frmtrad_commandes2].ClientCode & "'")
0
 
LVL 1

Author Comment

by:Shawn
ID: 38853505
wow. my bad. thanks
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now