ACC: How to Order Data in a GraphID: Q99934
|
Moderate: Requires basic macro, coding, and interoperability skills.
This article shows you how to order data in a graph by changing the graph's
RowSource property to a query name rather than by using the SQL statement
that Microsoft Access generates.
The following steps demonstrate how to create a graph that will show all
the orders after 12/31/94, in descending order, in the Orders table in the
sample database Northwind.mdb (or NWIND.MDB in versions 1.x and 2.0):
Query: GraphQuery
------------------------
Type: Select Query
Field: ShipName
Table: Orders
Show: True
Field: OrderDate
Table: Orders
Sort: Descending
Show: True
Criteria: > #12/31/94#
Object: Object Frame
-----------------------------
ControlName: Embedded0
RowSourceType: Table/Query
RowSource: GraphQuery
For more information about Microsoft Graph properties search the Help Index for "charts," and then "Chart Control Properties" or ask the Microsoft Access 97 Office Assistant.
Additional query words: queries graph wizards
Keywords : kbtool IntpGrph
Version : 1.0 1.1 2.0 7.0 97
Platform : WINDOWS
Issue type : kbhowto
Last Reviewed: March 23, 1999