hello,
i've struggling with trying to build a dynamic report. we have a table that has housing sales data for a county. i've set up a form, in hopes of being able to dynamically create/open a report based on what the user selects in the form. the selection choices are area (three cities, the 'subregions' of the major city, or the entire county), the type of housing sale (new or existing structure), the landuse (single family or condo), and the time period.
i've written the code that will write the sql query when the user clicks on the 'see report' button, however i'm not quite sure where to go from here!
i've made a generic report with unbound textboxes in the places where i want to show my info.
now i'm not sure how i can send the info from my query to the report. esp since the query doesn't just return rows, but a count of the number of rows, the average sales price, the mean sales price, the average building square feet and the mean square feet.
and to make things more complicated, if the user selects city1, condos, new and existing for january, i'd like to show something like this:
____________________________________
Housing Sales - January 2007 (title)
City1, County, State (subtitle)
New Condo sales (1st group title)
[countofSales] [AvgSalesPrice] [MedSales] [AveBldgSF] ...
Existing Condo sales (2nd group title)
[countofSales] [AvgSalesPrice] [MedSales] [AveBldgSF] ...
All Condo Sales (3rd group title)
[countofSales] [AvgSalesPrice] [MedSales] [AveBldgSF] ...
____________________________________
thanks!
i've struggling with trying to build a dynamic report. we have a table that has housing sales data for a county. i've set up a form, in hopes of being able to dynamically create/open a report based on what the user selects in the form. the selection choices are area (three cities, the 'subregions' of the major city, or the entire county), the type of housing sale (new or existing structure), the landuse (single family or condo), and the time period.
i've written the code that will write the sql query when the user clicks on the 'see report' button, however i'm not quite sure where to go from here!
i've made a generic report with unbound textboxes in the places where i want to show my info.
now i'm not sure how i can send the info from my query to the report. esp since the query doesn't just return rows, but a count of the number of rows, the average sales price, the mean sales price, the average building square feet and the mean square feet.
and to make things more complicated, if the user selects city1, condos, new and existing for january, i'd like to show something like this:
____________________________________
Housing Sales - January 2007 (title)
City1, County, State (subtitle)
New Condo sales (1st group title)
[countofSales] [AvgSalesPrice] [MedSales] [AveBldgSF] ...
Existing Condo sales (2nd group title)
[countofSales] [AvgSalesPrice] [MedSales] [AveBldgSF] ...
All Condo Sales (3rd group title)
[countofSales] [AvgSalesPrice] [MedSales] [AveBldgSF] ...
____________________________________
thanks!