Sam Summers
Registered User.
- Local time
- Today, 08:16
- Joined
- Sep 17, 2001
- Messages
- 939
Hi guys,
Been on this for days and searched and tried all kinds of things but i am still getting a load of mince in my results?
This is my SQL:
SELECT Job.JobID, Job.[Job Number], Job.PMDN, Job.JobName, Job.Location, Job.Client, Job.Description, Job.Type, Job.Status, Job.StartDate, Job.[Expected duration], Job.EndDate
FROM Job
WHERE (((Job.EndDate) Between Date() And Date()-6));
Basically i am trying to show all projects that were running in the previous week from the date of running the query - thats all, but when i view the results i have things like september dates in amongst them - weird!?
I also need to do the same for a monthly report too.
I have a Startdate and an Enddate and need to display all jobs that were running last week and last month.
Also the Endate maybe unknown so can also be Is Null
Many thanks in advance
Been on this for days and searched and tried all kinds of things but i am still getting a load of mince in my results?
This is my SQL:
SELECT Job.JobID, Job.[Job Number], Job.PMDN, Job.JobName, Job.Location, Job.Client, Job.Description, Job.Type, Job.Status, Job.StartDate, Job.[Expected duration], Job.EndDate
FROM Job
WHERE (((Job.EndDate) Between Date() And Date()-6));
Basically i am trying to show all projects that were running in the previous week from the date of running the query - thats all, but when i view the results i have things like september dates in amongst them - weird!?
I also need to do the same for a monthly report too.
I have a Startdate and an Enddate and need to display all jobs that were running last week and last month.
Also the Endate maybe unknown so can also be Is Null
Many thanks in advance