B
Barb
hello
I'm using Access 2003 SP3 and here is my query based on single table
PARAMETERS StartDate DateTime, EndDate DateTime;
SELECT tblCalendarHistory.CalendarID, tblCalendarHistory.Date,
tblCalendarHistory.Division
FROM tblCalendarHistory
WHERE (((tblCalendarHistory.Date) Between "StartDate" And "EndDate") AND
((tblCalendarHistory.Division)=[Forms]![frmDivision]![txtDivision]));
At first I created a form for imputting start and End dates, but I was
getting "Too complex" message. So I created parameters - same message. If I
replace parameters with actual dates - then it works. I can't figure out what
can be too complex in this thing..
please help, I'd trully appreciate any ideas
Barb
I'm using Access 2003 SP3 and here is my query based on single table
PARAMETERS StartDate DateTime, EndDate DateTime;
SELECT tblCalendarHistory.CalendarID, tblCalendarHistory.Date,
tblCalendarHistory.Division
FROM tblCalendarHistory
WHERE (((tblCalendarHistory.Date) Between "StartDate" And "EndDate") AND
((tblCalendarHistory.Division)=[Forms]![frmDivision]![txtDivision]));
At first I created a form for imputting start and End dates, but I was
getting "Too complex" message. So I created parameters - same message. If I
replace parameters with actual dates - then it works. I can't figure out what
can be too complex in this thing..
please help, I'd trully appreciate any ideas
Barb