I have a form for filtering data on a report. The form has several list boxes with multiselect set to extended. I want to pass any or all criteria selected on the form to a report so as to filter results based on the user's desires. If it were only one criteria, the solution would be simple -- use a 'For Each / Next' section to collect the items selected, then create a '[ReportField] In {Collection}' statement for the Where clause of the OpenReport command.
Can anyone help with multiple criteria? Is it possible to nest or string IN parameters for use with the Where clause? I would post code, but I'm sorta stuck with how to begin.
Any help would be most appreciated. Thanks.
Can anyone help with multiple criteria? Is it possible to nest or string IN parameters for use with the Where clause? I would post code, but I'm sorta stuck with how to begin.
Any help would be most appreciated. Thanks.