G
Guest
I have a continuous subform that has several comboboxes. The first combobox
so far is unbound and gets its list from selections made on the main form.
This part works fine. The second combobox is of workers filtered by the
company selected in the first. This also works. Sort of.
The second combobox cboWrkr is bound to the table where the info is stored.
When the first combobox is selected in any record of the continuous subform,
all the other visible names disappear if they work for a different company.
I don't need to store the company info again, only the name of the person.
Their company affiliation is stored in a separate table.
I think I need to change the rowsources dynamically but not sure at what
points. When the form is opened to an existing record it needs to be
different for viewing than for when a new main form is added or the subform
is being edited.
Hope that isn't too confusing.
Thanks
Rich J
so far is unbound and gets its list from selections made on the main form.
This part works fine. The second combobox is of workers filtered by the
company selected in the first. This also works. Sort of.
The second combobox cboWrkr is bound to the table where the info is stored.
When the first combobox is selected in any record of the continuous subform,
all the other visible names disappear if they work for a different company.
I don't need to store the company info again, only the name of the person.
Their company affiliation is stored in a separate table.
I think I need to change the rowsources dynamically but not sure at what
points. When the form is opened to an existing record it needs to be
different for viewing than for when a new main form is added or the subform
is being edited.
Hope that isn't too confusing.
Thanks
Rich J