ACC: How to Change the Order of Columns in a Chart (95/97) This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
This article was previously published under Q141235 On This PageSUMMARY
Advanced: Requires expert coding, interoperability, and multiuser skills.
By default, a chart sorts the X-axis fields in alphabetical or numeric order. This article describes two methods you can use to sort the X-axis fields in a different order. NOTE: A demonstration of the technique used in this article can be seen in the sample file, Grphsm97.exe. For information about how to obtain this sample file, please see the following article in the Microsoft Knowledge Base: 186855 (http://support.microsoft.com/kb/186855/EN-US/) ACC97: Microsoft Access 97 Sample Graphs Available in Download Center MORE INFORMATION
There are two methods you can use to change the ordering of fields in a
chart. The first way is to add an ORDER BY clause to the SQL statement in
the chart's RowSource property. The second way is to create a query that
orders the fields the way you want them, and then to use the query for the
chart's RowSource property.
How to Create a Sample ChartTo create a chart, follow these steps:
How to Change the Chart's Sorting OrderMethod 1The following example demonstrates how to add an Order By clause to the SQL statement in a Chart's RowSource property:
Method 2The following example describes how to create and use a query for the chart's RowSource property:
REFERENCES
For more information about ordering fields, search for "ORDER BY clause"
using the Microsoft Access 97 Help Index.
For more information about this topic in earlier versions of Microsoft Access, see the following article in the Microsoft Knowledge Base: 109315 (http://support.microsoft.com/kb/109315/EN-US/) ACC: How to Change the Order of Columns in a Graph (1.x, 2.0)
| Article Translations
|


Back to the top
