G
Guest
I want to show records from different tables on the Main form based on the
selection from a ComboBox. There are at least 2 sub-forms to show different
data from different tables. I want the sub-forms to show only the data based
on the selected value of the combobox. How can I do this?
What I've done so far:
The Main form is bound to Table1.
The Combobox is not bound to the main form.
The sub-forms are bound to the Main form.
There is a bound Textbox. The selected value from the ComboBox is assigned
to the bound Textbox. I then refresh the main form, which in turn refreshes
the sub-forms.
The problem is: The value that is selected in the ComboBox is added back to
Table1, which is not desirable. I've already set the Textbox.locked=Yes.
Any thing I'm doing wrong or not doing?
thanks.
selection from a ComboBox. There are at least 2 sub-forms to show different
data from different tables. I want the sub-forms to show only the data based
on the selected value of the combobox. How can I do this?
What I've done so far:
The Main form is bound to Table1.
The Combobox is not bound to the main form.
The sub-forms are bound to the Main form.
There is a bound Textbox. The selected value from the ComboBox is assigned
to the bound Textbox. I then refresh the main form, which in turn refreshes
the sub-forms.
The problem is: The value that is selected in the ComboBox is added back to
Table1, which is not desirable. I've already set the Textbox.locked=Yes.
Any thing I'm doing wrong or not doing?
thanks.