Article ID: 109949
Article Last Modified on 1/18/2007
182568 ACC97: Microsoft Access 97 Sample Queries Available in Download Center
Query: Switch Limits Headings
---------------------------------------------------------------
Type: Crosstab Query
Join: Orders.[CustomerID] <-> Customers.[CustomerID]
NOTE: In versions 1.x and 2.0, there is a space in Customer ID.
Field: Country
Table: Customers
Total: Group By
Crosstab: Row Heading
Field: Expr1: Switch([CompanyName] Like "[A-Fa-f]*", "A-F", _
[CompanyName] Like "[G-Og-o]*", "G-O", [CompanyName]_
Like "[P-Zp-z]*", "P-Z", True, "Other")
NOTE: In versions 1.x and 2.0, there is a space in Company Name.
Total: Group By
Crosstab: Column Heading
Field: OrderID
Table: Orders
Total: Count
Crosstab: Value
NOTE: In versions 1.x and 2.0, there is a space in Order ID.
Additional query words: partition range inf
Keywords: kbhowto KB109949