KevinSlater
Registered User.
- Local time
- Today, 08:13
- Joined
- Aug 5, 2005
- Messages
- 249
Hi i have a query named "query-shifts" which has a field in it named: "shift_date" a form named: "Form-Attendance" reads information into this query, is is possible to have a drop down list box (combo box) which displays just the last 3 days (including the current date), i would like the user to be able to select one of these dates and store it.
ive tried the following code in the criteria field of "shift_date" in the query:
>=DateAdd("d",-3,Date())
and have created a cobo box in the form that looks at this field in the query, it does display the last 3 days in the drop down list but shows each date twice, i think this is because i have different shifts in the query with the same date, any help on how i can just show the last three dates the once would be great?
ive tried the following code in the criteria field of "shift_date" in the query:
>=DateAdd("d",-3,Date())
and have created a cobo box in the form that looks at this field in the query, it does display the last 3 days in the drop down list but shows each date twice, i think this is because i have different shifts in the query with the same date, any help on how i can just show the last three dates the once would be great?