View Single Post
  #12 (permalink)  
Old 02-08-10, 16:48
Missinglinq Missinglinq is offline
Registered User
 
Join Date: Jun 2005
Location: Richmond, Virginia USA
Posts: 1,701
Quote:
Originally Posted by Ax238 View Post
I changed date to Date(), otherwise the parameter issue will still be present...you can't use vbMonday or date in a query.
Date works in VBA code without the parens, in v2003.

And you're correct, I believe, about not using the Constant vbMonday in a query, which is why I asked the OP about where he was using this. Since it was in a Report, this doesn't come into paly, and vbMonday should have worked just fine.
__________________
Hope this helps!

The Devil's in the Details!!

All posts/responses based on Access 2000/2003
Reply With Quote