stuckagain1
Technical User
I have a table of records that includes a begin date and an end date for a residency. I need to create charts by month for the last ten years, ie Jan 95, Jan 96, Jan 97... Jan 04 on one chart. What needs to be plotted is the total number of residency days in the month, ie a simple example is if 10 people arrived on 1-1-01 and stayed until 1-31-01, then there would be 310 days for Jan 01 (10 * 31 days). but everyone does not arrive at the beginning of the month, nor leave at the end of the month. they arrive and leave anytime of the month, so to the extent they overlap into other months needs to be accounted for.
is there a crosstab query that could handle this? i'm not sure of the expressions.....?
Thanks!
is there a crosstab query that could handle this? i'm not sure of the expressions.....?
Thanks!