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

Proper format to the WHERE condition of OpenReport

Status
Not open for further replies.

smuthcrmnl777

Technical User
Jan 16, 2006
104
0
0
US
I am having trouble typing up the proper format to a WHERE Condition for the OPENREPORT.

Code:
"[DateComplete] = >=DateAdd("d",-45,Now()) Or [DateComplete] = Is Null" and "[Group] IN (" & Mid(GetGroupString, 2) & ")"

How can I properly write this in VBA so the query can use this criteria without errors?

 
Please don't crosspost thread702-1202703, see faq181-2886 #4 for why, though the whole faq is worth a read.

Roy-Vidar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top