I have a query that has a field named "Start". I also have a separate table named tblWeekNumbers. This table looks like this:
![WeekNumbers]()
Note that week 1 is from 8/16/2015 through 8/22/2015, Week 2 is from 8/23/2015 through 8/29/2015, etc. The dates and the PK number in this table will never change.
Now in the query I need to add a field named "WeeK" If the date in the field "Start" in the query is between 8/16/2015 and 8/22/2015 then I want the new field in the query named "Week" to show "1". If the date in the field "Start" in the query is between 8/23/2015 and 8/29/2015 then I want the new field in the query named "Week" to show "2", etc.
How can I add this field and value to the query?
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.