B
Barry
I have a form (that contains a combo box) and a subform (which contains a
datasheet). The Combo Box has unique values, while the datasheet has many
values, including the same field as the combo box. I have tried relating the
tables, joining them in queries (plural because I had one query with only the
combo box field and another querty with multiple fields for the datasheet).
I now have them linked in the form (with the combo box being the Parent and
the datasheet as the Child). For some reason, when selecting a value in the
combo box, which does not yet have a record for in the datasheet-based table,
the selection changes to a null value following it's selection. The problem
with this is that I have a macro setup to populate the field in the
datasheet, based on the value of the current combo box selection, when
clicked. It returns an error on the values discussed above, due to the fact
that they are null, stating that cannot enter a null value. I have broken
all links in queries, emptied the OnClick event completely, and the combo box
still reacts the same. Anybody ever had this issue?
datasheet). The Combo Box has unique values, while the datasheet has many
values, including the same field as the combo box. I have tried relating the
tables, joining them in queries (plural because I had one query with only the
combo box field and another querty with multiple fields for the datasheet).
I now have them linked in the form (with the combo box being the Parent and
the datasheet as the Child). For some reason, when selecting a value in the
combo box, which does not yet have a record for in the datasheet-based table,
the selection changes to a null value following it's selection. The problem
with this is that I have a macro setup to populate the field in the
datasheet, based on the value of the current combo box selection, when
clicked. It returns an error on the values discussed above, due to the fact
that they are null, stating that cannot enter a null value. I have broken
all links in queries, emptied the OnClick event completely, and the combo box
still reacts the same. Anybody ever had this issue?