ACC: How to Create a Graph Bound to Two Combo Boxes (95/97)ID: Q155757
|
Moderate: Requires basic macro, coding, and interoperability skills.
This article describes how to create a graph that is bound to two combo
boxes. You control the data that is displayed in the graph by making
selections from the combo boxes.
Orders
Order Details
Products
Categories
Field: Freight
Table: Orders
Total: Sum
Field: ProductName
Table: Products
Total: Group By
Field: CategoryName
Table: Categories
Total: Group By
Field: Year: CStr(Nz(Year([OrderDate])))
Total: Group By
Combo Box:
Name: SelectCat
RowSourceType: Table/Query
RowSource: Categories
ColumnCount: 2
ColumnWidth: 0";1"
BoundColumn: 2
Combo Box:
Name: SelectYear
RowSourceType: Value List
RowSource: 1993;1994;1995;1996
Unbound Object Frame:
Name: FreightGraph
SizeMode: Zoom
LinkChildFields: CategoryName;Year
LinkMasterFields: SelectCat;SelectYear
Width: 6.5"
Height: 3.25"
For more information about graph control properties, search the Help Index
for "graph," and then "Chart Control Properties," or ask the Microsoft
Access 97 Office Assistant.
For more information about combo box properties, search the Help Index for
"combo boxes, properties" and then "Combo Box Control Properties" or ask
the Microsoft Access 97 Office Assistant.
Keywords : kbusage FmsCmbo
Version : 7.0 97
Platform : WINDOWS
Issue type : kbhowto
Last Reviewed: April 28, 1999