robjones23
Registered User.
- Local time
- Today, 22:03
- Joined
- Dec 16, 2004
- Messages
- 66
Hi again,
Hope everyone had a good christmas / new year!
I need a little help with an access query. I'm trying to add a column called "Week Number" to a database with "logged Date / Time" as a record. I need the date / time field to be looked at and then a week number be produced from it depending on when it was logged.
For example,
This week, we're in week number 1 of the year. Week 1 runs from the 3rd January, to the 9th January (Mon - Sun) and then week 2 is the 10th Jan - 16th... etc....
I would like anything logged between the 3rd to the 9th to show "1" in the "Week Number" column I'm creating. If It helps, I do also have a column with "week" on it's own as dd/mm/yyyy (Rather than the "logged date / time" which is dd/mm/yyy hh:mm:ss).
Anyone know how to do this??
Thanks,
Rob.
Hope everyone had a good christmas / new year!
I need a little help with an access query. I'm trying to add a column called "Week Number" to a database with "logged Date / Time" as a record. I need the date / time field to be looked at and then a week number be produced from it depending on when it was logged.
For example,
This week, we're in week number 1 of the year. Week 1 runs from the 3rd January, to the 9th January (Mon - Sun) and then week 2 is the 10th Jan - 16th... etc....
I would like anything logged between the 3rd to the 9th to show "1" in the "Week Number" column I'm creating. If It helps, I do also have a column with "week" on it's own as dd/mm/yyyy (Rather than the "logged date / time" which is dd/mm/yyy hh:mm:ss).
Anyone know how to do this??
Thanks,
Rob.