View Single Post
  #54 (permalink)  
Old 11-01-07, 10:45
pkstormy pkstormy is offline
Moderator
 
Join Date: Dec 2004
Location: Madison, WI
Posts: 3,925
Crosstab Example

The attachment is a very basic crosstab example. The key thing in designing a crosstab type report is making it so that when new records are added to the table, you don't have to manually edit the report and add in a new column to show the new column of information. This can easily be done by making the subreport based on the crosstab query (not a subreport) as the report example illustrates. You'll also notice that you can adjust the column widths in the crosstab query which also reflect in the report.

Test out the example by adding/deleting records to the table and notice that you don't have to do anything to the report design.
Attached Files
File Type: zip CrossTabExample.zip (10.0 KB, 1103 views)
__________________
Expert Database Programming
MSAccess since 1.0, SQL Server since 6.5, Visual Basic (5.0, 6.0)

Last edited by pkstormy; 11-01-07 at 10:49.
Reply With Quote