I know this has been talked about in other threads, but none seemed to fit my situation, or maybe I just didn't know how to apply them to mine.
My database is an employee database tracking time, project worked on, and dates. (it tracks more but thats is all that is necessary for this report/query) The crosstab query has three parameters, 1) Payperiod Start Date 2) Payperiod End Date and 3) Project Number. The date field is a date/time field in short format. Below are the results of the Crosstab query:
name emptitle phase 1/2/2006 1/25/2006 1/7/2006 Total Hours
Doe, Jane CAD 01 8 8 16
Doe, Jane CAD trav 2 2
Doe, John TECH 01 8 8 16
Doe, John TECH trav 2 2 4
Toon, Car PM 01 8 8
Toon, Car PM trav 1 1
So the query is working fine, I am ready to build my report on this very same query, but the problem lies with me creating the report. I don't know how to incorporate my parameters into the report, every time i go to make the report it asks me to run the query and uses the dates it generates as columns for me to use. I need to know how to set up this report to either 1) ask for the parameters after you hit the report command or 2) setup generic fields that will pull the information from the query into it. Or to comeup with a completely different way to get these results in a report form.
My database is an employee database tracking time, project worked on, and dates. (it tracks more but thats is all that is necessary for this report/query) The crosstab query has three parameters, 1) Payperiod Start Date 2) Payperiod End Date and 3) Project Number. The date field is a date/time field in short format. Below are the results of the Crosstab query:
name emptitle phase 1/2/2006 1/25/2006 1/7/2006 Total Hours
Doe, Jane CAD 01 8 8 16
Doe, Jane CAD trav 2 2
Doe, John TECH 01 8 8 16
Doe, John TECH trav 2 2 4
Toon, Car PM 01 8 8
Toon, Car PM trav 1 1
So the query is working fine, I am ready to build my report on this very same query, but the problem lies with me creating the report. I don't know how to incorporate my parameters into the report, every time i go to make the report it asks me to run the query and uses the dates it generates as columns for me to use. I need to know how to set up this report to either 1) ask for the parameters after you hit the report command or 2) setup generic fields that will pull the information from the query into it. Or to comeup with a completely different way to get these results in a report form.