Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Wrong number of arguments in Duane's Concatenate Module 2

Status
Not open for further replies.

NeilT123

Technical User
Jan 6, 2005
302
0
0
GB
I am trying to use Duane's Concatenate module to create a report label but I keep getting a "wrong number of arguements error message. My code is

Code:
SELECT tblSltFarm.FarmAccountNumber, Concatenate("SELECT AccountName FROM QrySLTFarm2
    WHERE FarmAccountNumber =" & [FarmAccountNumber], ", ", ", and " ) AS AccountNameLbl
FROM tblSltFarm

Can anyone point out where I am wrong please.

Thank you
 
Yes that works for me, the spacing and positioning of the commas are all good and it now handles single values.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top