I have a crosstab query. I use a crosstab query because I need the ROWS of one table to act as "COLUMNS" for th x-tab query. The "columns" of the X-tab query are based on a parameter passed to the Crosstab Query. Running the query from design mode works perfectly. I NEED THOSE RESULTS IN EITHER A SUBFORM OR SUBREPORT to print. In fact, a printable report is the main purpose of this database. When I try to add this query thru the wizard no fields appear to select, so I cannot complete the wizard.
The ideal solution would be to embed an Excel spreadsheet and populate the spreadsheet with records from the crosstab-query. Well, I started threads on this (thread707-530523 and no one could figure out how to populate an embedded excel spreadsheet with data from VBA code. (This is odd because you'd think that there would be a purpose to the Access functionality of embedding excel worksheets aside from just looking at already existing excel worksheets. There should definitely be a way to populate it with data. But, I'm thinking it's utterly impossible.)
Since that didn't work, I'd at least like to be able to present the results of my x-tab query in a grid on a subform or subreport. Is there a way to at least do THIS???
The ideal solution would be to embed an Excel spreadsheet and populate the spreadsheet with records from the crosstab-query. Well, I started threads on this (thread707-530523 and no one could figure out how to populate an embedded excel spreadsheet with data from VBA code. (This is odd because you'd think that there would be a purpose to the Access functionality of embedding excel worksheets aside from just looking at already existing excel worksheets. There should definitely be a way to populate it with data. But, I'm thinking it's utterly impossible.)
Since that didn't work, I'd at least like to be able to present the results of my x-tab query in a grid on a subform or subreport. Is there a way to at least do THIS???