B
BJM
I need to create a custom form that will allow non-
technical users to supply multiple parameters in a
comfortable interface that will then be passed to an
underlying query and then used to open a report.
I understand how to use a query to populate a combo box
with a table field list (of course codes, for example) to
prevent typos. The trouble is in a situation where there
may be more than one record that meets the criteria (all
records for weeks 3 - 5 for example). I have tried using a
list box that allows multiple selections, but then when
the values are passed to the query underlying the
destination report, the fields with more than one value
return an error.
And what if the user wants to leave one parameter blank in
order to return all records? That causes the open report
action to fail as well.
I'm sure there must be syntax to allow for this, but I'm
afraid my learning curve hasn't reached that height! Could
anyone please help?
Thanks,
BJM
technical users to supply multiple parameters in a
comfortable interface that will then be passed to an
underlying query and then used to open a report.
I understand how to use a query to populate a combo box
with a table field list (of course codes, for example) to
prevent typos. The trouble is in a situation where there
may be more than one record that meets the criteria (all
records for weeks 3 - 5 for example). I have tried using a
list box that allows multiple selections, but then when
the values are passed to the query underlying the
destination report, the fields with more than one value
return an error.
And what if the user wants to leave one parameter blank in
order to return all records? That causes the open report
action to fail as well.
I'm sure there must be syntax to allow for this, but I'm
afraid my learning curve hasn't reached that height! Could
anyone please help?
Thanks,
BJM