Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using ALL in a combo box for a report with a chart

Status
Not open for further replies.

jw5107

Technical User
Jan 20, 2004
294
US
I have a form. On the form is a combo box. Row source of combo box: SELECT FLEET as A, FLEET FROM FLEETResp UNION select "*" as A,"<ALL>" as B from FLEETResp GROUP BY FLEET ORDER BY FLEET;
Column count set to 2. Column widths set to "0",".4".
On the forms OnLoad event: If Fleet.ListCount > 0 Then
Fleet = Fleet.Column(0, 0)
End If

In the query that is for the chart - for the FleetType field: Like [Forms]![DepartMatDelayrpt]![Fleet]
I also have in the same query a date field: >=[Forms]![DepartMatDelayrpt]![BegDate] And <=[Forms]![DepartMatDelayrpt]![EndDate]

When the report is ran - with ALL selected in the combo box - everything looks fine except for the chart data. The chart data shows the values for ALL. Not just for that Fleet or date range. Since I'm using the "ALL" thing, is that throwin' the date range off thats selected?
Any fixes or examples of how I can use ALL in a combo box for a chart in a report?
Thanks in advance,
jw5107
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top