ACC2000: How to Use Code to Change Column Headings in a Crosstab Query (210004)
The information in this article applies to:
This article was previously published under Q210004 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies only to a Microsoft Access database (.mdb).
SUMMARY
This article shows you how to use Visual Basic for Applications to change
the column headings in a crosstab query.
NOTE: You can see a demonstration of the technique that is used in this article in the sample file Qrysmp00.exe. For information about how to obtain this sample file, please see the following article in the Microsoft
Knowledge Base:
207626 ACC2000: Access 2000 Sample Queries Available in Download Center
REFERENCESFor more information about the SQL property of a QueryDef object, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type SQL property in the Office Assistant or the Answer Wizard, and then click Search to view the topic. For more information about using the IIf() function, click Microsoft Visual Basic Help on the
Help menu, type iif function example in the Office Assistant or
the Answer Wizard, and then click Search to view the topics
returned.
Modification Type: | Major | Last Reviewed: | 6/23/2005 |
---|
Keywords: | kbhowto KB210004 |
---|
|