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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query Quandary

Status
Not open for further replies.

CluelessRink

Technical User
Jun 5, 2004
53
US
I have a text box set up on my form using the following DSum statement to get data via a query...
Code:
=DLookUp("SumOftotalSales","qry_sales_by_dept_es","transdate=#" & [transdate] & "#'")
It isn't working correctly though, I am getting #Error.

What do I have wrong?

 
Get rid of the single quote

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Ah, I do wish all my troubles were so simple.

Thanks.

Rink
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top