List Box on Sub-Form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Ok, I have a sub-form to select reports from a list box pulling from a table
of report names. When I use the form by itself it works great, but when I
put the form into another form making it a subform, the list box looks right,
but will not let me make a selection from the list displayed. There is no
parent child link between the forms.

Thanks
 
My guess is that somewhere in your code you are referring to:
Forms![form name]![listbox name]

This will not work if the form is a subform, because subforms don't get to
be part of the Forms collection in their own right.

Maybe if you post some more details, including some of your code, we might
be able to suggest the best way to do this so it works with both main and
sub forms.
 
Back
Top