M
Mike Revis
Hi Group,
Access 2007. WinXPpro.
My app has a report that lists parts by category.
I found some earlier discussion in the group about filtering a report based
on a combo box selection.
I was able to do that and have the report show only one category.
I would like to be able to filter the report based on a multiselect listbox.
I adapted the combo box action to a list box and it works as long as I have
multiselect = None.
When I change the listbox to multiselect simple or extended the report opens
with no data.
My command button code as follows.
DoCmd.OpenReport "rptPartsByCategory", acPreview, , " [Category]=' " &
Me.listCategory & " ' "
As always any thoughts, comments or suggestions are welcome.
Best regards,
Mike
Access 2007. WinXPpro.
My app has a report that lists parts by category.
I found some earlier discussion in the group about filtering a report based
on a combo box selection.
I was able to do that and have the report show only one category.
I would like to be able to filter the report based on a multiselect listbox.
I adapted the combo box action to a list box and it works as long as I have
multiselect = None.
When I change the listbox to multiselect simple or extended the report opens
with no data.
My command button code as follows.
DoCmd.OpenReport "rptPartsByCategory", acPreview, , " [Category]=' " &
Me.listCategory & " ' "
As always any thoughts, comments or suggestions are welcome.
Best regards,
Mike