Hi Folks,
I am looking for a query to a calculate data within an Access Table. The Table contains project records with specific Start Dtaes and End Dates as columns. With a parmater query I am having the reviewer select a date range. I would like Access to view each project record and state how many days a project falls within that date range selected and populate an additional column with that answer. If the project starts and ends before or after the selected date range than naturally the additional column reads zero. If it starts befor but ends during than it calculates the days that fall within the selected range. If the project starts during but ends after the selected date range then it would calculate the overlap days within the selected date range and so on. Is there a query and / or SQL language that would acomplish my goal Please Please Please.
I am quite new to Access so PLEASE be specific on details if time permits.
Thank you in advance for the help!
JB
I am looking for a query to a calculate data within an Access Table. The Table contains project records with specific Start Dtaes and End Dates as columns. With a parmater query I am having the reviewer select a date range. I would like Access to view each project record and state how many days a project falls within that date range selected and populate an additional column with that answer. If the project starts and ends before or after the selected date range than naturally the additional column reads zero. If it starts befor but ends during than it calculates the days that fall within the selected range. If the project starts during but ends after the selected date range then it would calculate the overlap days within the selected date range and so on. Is there a query and / or SQL language that would acomplish my goal Please Please Please.
I am quite new to Access so PLEASE be specific on details if time permits.
Thank you in advance for the help!
JB