S
Scott
Hello. I have a form that dynamically creates a SQL
statement. The SQL is compiled into a hidden text box
object. That object is referenced when opening other
reports, which can then set their recordsource to the SQL
statement. The SQL statement would normally create a
crosstab query.
I would like to export the results of that SQl statement
to Excel so that the end user can play with the data from
there. I have had a hard time coming up with a way to
export the "RESULTS" of the statement. Some of the issues
are because it's a crosstab rather than a select query.
Any thoughts as to how I can "grab" the recordset of the
SQl statement and throw it into Excel?
statement. The SQL is compiled into a hidden text box
object. That object is referenced when opening other
reports, which can then set their recordsource to the SQL
statement. The SQL statement would normally create a
crosstab query.
I would like to export the results of that SQl statement
to Excel so that the end user can play with the data from
there. I have had a hard time coming up with a way to
export the "RESULTS" of the statement. Some of the issues
are because it's a crosstab rather than a select query.
Any thoughts as to how I can "grab" the recordset of the
SQl statement and throw it into Excel?