Solved

dmax syntax error

Posted on 2013-02-04
2
291 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

910 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

19 Experts available now in Live!

Get 1:1 Help Now