Hello All,
I have a MS Access database which contains maintenance reports form our engineers.
1 of the columns contains the date and the time at which the engineers has entered his/her problem report.
Now I want to create a query which contains the problem reports of last month and which are filled in out of office hours.
The column that contains the date and time looks like: "dd-mm-yyyy h:mm:ss AM/PM".
I'm able to retrieve the records from last month by using: between #1-6-2005# and #30-6-2005#. That is working fine.
So I added the column again and entered: not between #8:00:00 AM# and #5:00:00 PM#. But that didn't work... It still shows all the records in that month
Also I need to add the weekends... Does somebody know how to convert the date to a day???
If somebody can help me with this, it's much appreciated.
Marc D.
If Bill Gates had a nickel for every time Windows crashed... Oh wait, he does...
I have a MS Access database which contains maintenance reports form our engineers.
1 of the columns contains the date and the time at which the engineers has entered his/her problem report.
Now I want to create a query which contains the problem reports of last month and which are filled in out of office hours.
The column that contains the date and time looks like: "dd-mm-yyyy h:mm:ss AM/PM".
I'm able to retrieve the records from last month by using: between #1-6-2005# and #30-6-2005#. That is working fine.
So I added the column again and entered: not between #8:00:00 AM# and #5:00:00 PM#. But that didn't work... It still shows all the records in that month
Also I need to add the weekends... Does somebody know how to convert the date to a day???
If somebody can help me with this, it's much appreciated.
Marc D.
If Bill Gates had a nickel for every time Windows crashed... Oh wait, he does...