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

Error 3075 Syntax Error 1

Status
Not open for further replies.

Garridon

Programmer
Mar 2, 2000
718
US
I'm trying to select records based on the last thirty days from today's date versus the date the record was closed, but I keep getting an Error 3075 Syntax Error.

This is the expression:

DCount(&quot;dateClosed&quot;,&quot;qselClosedTrends&quot;,&quot;[dateClosedJ62]<#&quot; & Date()-30)

I'm stumped! Any help would be appreciated. Thanks!
Linda Adams
Visit my web site for writing and Microsoft Word tips: Official web site for actor David Hedison:
 
Try:

DCount(&quot;dateClosed&quot;,&quot;qselClosedTrends&quot;,&quot;[dateClosedJ62]<#&quot; & Date()-30 & &quot;#&quot;)

I think that will fix it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top