M
Michael Edwards
I am trying to develop a report from an Access 2000 crosstab query using
ADO. I will enter the column headings from the crosstab query into labels.
So far, in code, I connect to the current project and run the crosstab query
into an ADO recordset. I believe the column names should be exposed by the
ADO recordset but I cannot find any documentation on how to get the column
name.
Before I get suggestions on how to do it other ways, I know most of them;
however, I want to get away from the DAO code, the number of columns and
rows change from report to report run as well as the headings themselves.
There is no way to synthetically create the heading names by Date Functions
or serializing Functions. The number of columns will be between 1 and 100.
The bottom line question is -- how do I get the column names from the
crosstab query via ADO?
ADO. I will enter the column headings from the crosstab query into labels.
So far, in code, I connect to the current project and run the crosstab query
into an ADO recordset. I believe the column names should be exposed by the
ADO recordset but I cannot find any documentation on how to get the column
name.
Before I get suggestions on how to do it other ways, I know most of them;
however, I want to get away from the DAO code, the number of columns and
rows change from report to report run as well as the headings themselves.
There is no way to synthetically create the heading names by Date Functions
or serializing Functions. The number of columns will be between 1 and 100.
The bottom line question is -- how do I get the column names from the
crosstab query via ADO?