R
RD
Hi all,
I'm bending my brain over this one.
I have a data entry form with a button that opens a report. On the report is a
list box that contains the "children" of the "parent" for the report. The
report is based on a query that joins the child and parent tables. I need to
restrict the values shown in the list box to only those that match the parent
record. Right now the report shows the correct parent record but the list box
shows all the child records. I've known about the OpenArgs property for reports
for a while now but have never actually needed to use it. Would that be
appropriate in this case? Could anyone show me how to go about that?
Is there another way to go about doing this?
In a somewhat related issue: why doesn't RowSource show up in the VBE for my
list box? It shows up in the propery box.
Thanks for any help,
RD
I'm bending my brain over this one.
I have a data entry form with a button that opens a report. On the report is a
list box that contains the "children" of the "parent" for the report. The
report is based on a query that joins the child and parent tables. I need to
restrict the values shown in the list box to only those that match the parent
record. Right now the report shows the correct parent record but the list box
shows all the child records. I've known about the OpenArgs property for reports
for a while now but have never actually needed to use it. Would that be
appropriate in this case? Could anyone show me how to go about that?
Is there another way to go about doing this?
In a somewhat related issue: why doesn't RowSource show up in the VBE for my
list box? It shows up in the propery box.
Thanks for any help,
RD