UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

> Help With Query With Date Parameters    
 
   
eacollie
post Apr 1 2012, 07:11 PM
Post #1

UtterAccess Veteran
Posts: 408
From: Tennessee



I have a form based on this query:

CODE
SELECT qryReservationsMC.*, IIf([AddedToOutlook]=True,"*","|") AS Status
FROM qryReservationsMC
WHERE (((qryReservationsMC.EndDate)>=Format([Forms]![frmCalendar]![txtDate],"Short Date")) AND ((qryReservationsMC.StartDate)<=Format([Forms]![frmCalendar]![txtDate],"Short Date")));


It gives me an error "the expression is typed incorrectly or is too complicated..." I think I need "#" for the dates.

Any help?
Go to the top of the page
 
+

Posts in this topic


Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 19th May 2013 - 08:20 PM