My Assistant
|
|
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? |
|
|
|
eacollie Help With Query With Date Parameters Apr 1 2012, 07:11 PM
Doug Steele Don't use the Format function: that actually c... Apr 1 2012, 07:26 PM
eacollie Wow! Thank you so much Doug! That took car... Apr 1 2012, 08:02 PM![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 19th May 2013 - 08:20 PM |