sgladie@bgsu.edu
Registered User.
- Local time
- Yesterday, 18:18
- Joined
- Jul 3, 2015
- Messages
- 28
Access 2013
I am trying to create a query that will provide the turn over status of a unit. There are four statuses a unit can be in: Occupied, Ready to Rent, In Renovation, Out of Service. My setup query's data is:
7249 Occupied 9/1/2015 8/19/2015 13
7249 Ready to Rent 8/19/2015 7/14/2015 36
7249 In Renovation 7/14/2015 1/9/2015 186
7249 Occupied 1/9/2015 1/9/2015 0
UnitID Status StatusDate PriorDate TotalDays (respectively)
We need for it to pick up the days that it was in Ready to Rent (13) and In Renovation (36). This is just one scenario. A unit can also just go from Occupied > Ready to Rent > Occupied, or Occupied > Out of Service > In Renovation > Ready to Rent > Occupied. But we only want the Ready to Rent and the Renovation days. For some reason I just cannot figure out how to pull just those days.
Any suggestions or help is much appreciated! I am hoping I am making this harder then it really is - over thinking it, maybe! Thank you!
I am trying to create a query that will provide the turn over status of a unit. There are four statuses a unit can be in: Occupied, Ready to Rent, In Renovation, Out of Service. My setup query's data is:
7249 Occupied 9/1/2015 8/19/2015 13
7249 Ready to Rent 8/19/2015 7/14/2015 36
7249 In Renovation 7/14/2015 1/9/2015 186
7249 Occupied 1/9/2015 1/9/2015 0
UnitID Status StatusDate PriorDate TotalDays (respectively)
We need for it to pick up the days that it was in Ready to Rent (13) and In Renovation (36). This is just one scenario. A unit can also just go from Occupied > Ready to Rent > Occupied, or Occupied > Out of Service > In Renovation > Ready to Rent > Occupied. But we only want the Ready to Rent and the Renovation days. For some reason I just cannot figure out how to pull just those days.
Any suggestions or help is much appreciated! I am hoping I am making this harder then it really is - over thinking it, maybe! Thank you!