Help with my Date Query

yus786

I do OK
Local time
Today, 13:05
Joined
Jun 25, 2008
Messages
121
Trying to run a query that takes the dates from 2 text boxes from another form.

This is the qry

Code:
SELECT Attend.AttStudent, Attend.AttType, Attend.AttDate
FROM Attend
WHERE (((Attend.AttDate) Between [form]![termdate]![fromdate] And [form]![termdate]![todate]));
Where the 2 text boxes are fromdate and todate.

However if i run the qry all i get is

qry1.jpg


What am i doing wrong?
 
the way you set it up Yes you need to have the values in the textboxes, otherwise you will get the box that you attached, however, if you type your dates there, it still works, although it is less user friendly.
 
the way you set it up Yes you need to have the values in the textboxes, otherwise you will get the box that you attached, however, if you type your dates there, it still works, although it is less user friendly.

Thanks for you help.

I'll think of something to keep the box in the background maybe minimize
 

Users who are viewing this thread

Back
Top Bottom