G
Guest
Using Access 2000
Is it possible to change column headings ? I have a crosstab query that
counts the number of records for a particular primary diagnosis (this field
has the following parameters set in design view Row Source Type Value List,
Row Source "C48";"textstring1";"C49";"textstring2"..., Bound Column 1. The
Count headings on the Crosstab show
"Total of NHS Number" - can this be changed to "Total"
C48 - can this be changed to "textstring1"
C49 - can this be changed to "textstring2" etc
SQL code
TRANSFORM Count(Demographics.[NHS Number]) AS [CountOfNHS Number]
SELECT Demographics.Hospital, Count(Demographics.[NHS Number]) AS [Total Of
NHS Number]
FROM Demographics
GROUP BY Demographics.Hospital
PIVOT Demographics.[Primary diagnosis];
Is it possible to change column headings ? I have a crosstab query that
counts the number of records for a particular primary diagnosis (this field
has the following parameters set in design view Row Source Type Value List,
Row Source "C48";"textstring1";"C49";"textstring2"..., Bound Column 1. The
Count headings on the Crosstab show
"Total of NHS Number" - can this be changed to "Total"
C48 - can this be changed to "textstring1"
C49 - can this be changed to "textstring2" etc
SQL code
TRANSFORM Count(Demographics.[NHS Number]) AS [CountOfNHS Number]
SELECT Demographics.Hospital, Count(Demographics.[NHS Number]) AS [Total Of
NHS Number]
FROM Demographics
GROUP BY Demographics.Hospital
PIVOT Demographics.[Primary diagnosis];