If if turns out you need everything since the previous Sunday, (week-to-date) you could use:
>=(Date() - WeekDay(Date()) + 1 )
If you want everything for last week, it could be done in code, but I would recommend putting start date and end date on a form and using those in a "between" statement in your query. You could always preload the form using the default property and allow the user to type over the defaults...
HTH,
Bob
Thread181-473997 provides information regarding this site.
Your where clause in your sql would look like
WHERE Year([YourDateField]) = 2003
or
WHERE Year([YourDateField]) = [Enter Year]
or
WHERE Year([YourDateField]) = Forms!frmX!cboYear
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.