G
Guest
Hi
I have a main form which has 2 tables set as record set.
There are 2 combo box, cboStoreNo, cboReferenceID and I would like the
subform to show all the data based on which ever combo box has the data in it.
Code has been created for the combobox before update to set the other
combobox as null so only one combobox has data at one time.
One solution I tried was to have a hide text box in the main form which
works great but I cannot get any code to set the child link as it can be
either StoreNo or ReferenceID depending on the combobox selected.
Any thoughts would be appreciated.
Thanks
Noemi
I have a main form which has 2 tables set as record set.
There are 2 combo box, cboStoreNo, cboReferenceID and I would like the
subform to show all the data based on which ever combo box has the data in it.
Code has been created for the combobox before update to set the other
combobox as null so only one combobox has data at one time.
One solution I tried was to have a hide text box in the main form which
works great but I cannot get any code to set the child link as it can be
either StoreNo or ReferenceID depending on the combobox selected.
Any thoughts would be appreciated.
Thanks
Noemi