G
Guest
I am having difficulty filtering form/report using multiple selection via
list box.
I put a subform in a report that shows a chart based on dataset selected by
users.
I connected sub and main forms by child/parent link using 'year'.
The filter works fine as long as the selection is not multiple.
But it fails when a user chooses more than one selections from the list box.
For example, when a user selects year 2004 and 2005, the chart only shows
records from 2004, and not an aggregation of 2004 and 2005.
The filter string that is passed to the main form looks fine, the base query
used for subform also produces what I want when I try the filter string
manually.
Any suggestions of the possible cause of this problems?
Thanks a lot in advance,
list box.
I put a subform in a report that shows a chart based on dataset selected by
users.
I connected sub and main forms by child/parent link using 'year'.
The filter works fine as long as the selection is not multiple.
But it fails when a user chooses more than one selections from the list box.
For example, when a user selects year 2004 and 2005, the chart only shows
records from 2004, and not an aggregation of 2004 and 2005.
The filter string that is passed to the main form looks fine, the base query
used for subform also produces what I want when I try the filter string
manually.
Any suggestions of the possible cause of this problems?
Thanks a lot in advance,