DEllis
Active Member
- Joined
- Jun 4, 2009
- Messages
- 344
- Office Version
- 365
- Platform
- Windows
Here is the situation. I have an access database with a table that has projects, some of which have information in consecutive years in two and some only have in one year. What I am trying to do is pull previous and current year, current and next year and just current year projects. I do not want projects that were from last year and ended in last year. If the project was started last year it may have carried over to this year and therefore can still be edited. Those projects that are only last years, I don't want to pull in when the dashboard is opened.
I need help. I've tried all types of creative queries and can't seem to hit the nail on the head.
Here is an example of the data.
Pro_Num Year Data
1 2010 ABC
2 2010 ADX
2 2011 ADX
3 2011 CFG
4 2011 GHI
4 2012 HGI
5 2012 ZZZ
So you see, what I would like to pull when the project owner opens up his/her dashboard is only those projects that are from the previous year that rolled over to current year, those that are only in the current year, and those that are in the current year with carry over in next year. So from this list the query would pull in projects 2 3 4 but not 1 and 5. 5 would be pulled in next year as would 4, but not the rest.
Is there a way to do this?! ::Scratching head, losing hair:: Please help!!!
I need help. I've tried all types of creative queries and can't seem to hit the nail on the head.
Here is an example of the data.
Pro_Num Year Data
1 2010 ABC
2 2010 ADX
2 2011 ADX
3 2011 CFG
4 2011 GHI
4 2012 HGI
5 2012 ZZZ
So you see, what I would like to pull when the project owner opens up his/her dashboard is only those projects that are from the previous year that rolled over to current year, those that are only in the current year, and those that are in the current year with carry over in next year. So from this list the query would pull in projects 2 3 4 but not 1 and 5. 5 would be pulled in next year as would 4, but not the rest.
Is there a way to do this?! ::Scratching head, losing hair:: Please help!!!