I have a ComboBox on a form which is unbound, technically it is bound to the recordsource, but says unbound on the caption in design view. It is set to two columns with the first one having a width property set so it doesn’t display. The SQL that sets its recordsource is set to the data populating the subform, which is the many side of the relationship in a grid view. Column(0) stores the Lease number, for which the form and subform are linked. Column 1 stores the serial number of the item which is only in the recordsource of the subform.
This is generally an inventory database of leased equipment. When the user selects a serial number, it simply searches the main form for that Lease Number using the RecordsetClone / Bookmark thing. This works fine with recalling the record.
For some reason, after the record is recalled the ComboBox displays the first serial number of the record in the subform. I have no clue how this value is getting into the field. When I try to explicitly clear the field, or set it to the value of a variable that I set to capture the correct serial number, it raises an error (2115) indicating that the form is unable to change the value of this field after it has been updated. I mean, it isn’t even boudnd to anything but its underlying recordsource.