R
Robert
I have single user database, with a tab control on my main form, and with a
suborm on one of the tabs. When the user checks a checkbox on the subform, I
programaticaly change two fields' values in my parent form, a checkbox and a
textbox. If I only change the checkbox in my parent form, everything is
fine, but if I change the textbox's value, then once I click out of the
subform, I'm warned of another user editing the record and asking if I want
to save, discard or copy to the clipboard.
Both the checkbox and the textbox are bound to the underlying recordset of
the main form and the subform is linked to the master form. Below are the
two lines of code. The first works fine, the second generates a warning
message.
Forms!frmPropertyDetails!chkOccupied.Value = Me.Occupied.Value
Forms!frmPropertyDetails!txtPropMargin.Value = strOccupied
I thought using a main/sub form combination would solve this problem. Any
suggestions? What am I missing here?
Thank you.
suborm on one of the tabs. When the user checks a checkbox on the subform, I
programaticaly change two fields' values in my parent form, a checkbox and a
textbox. If I only change the checkbox in my parent form, everything is
fine, but if I change the textbox's value, then once I click out of the
subform, I'm warned of another user editing the record and asking if I want
to save, discard or copy to the clipboard.
Both the checkbox and the textbox are bound to the underlying recordset of
the main form and the subform is linked to the master form. Below are the
two lines of code. The first works fine, the second generates a warning
message.
Forms!frmPropertyDetails!chkOccupied.Value = Me.Occupied.Value
Forms!frmPropertyDetails!txtPropMargin.Value = strOccupied
I thought using a main/sub form combination would solve this problem. Any
suggestions? What am I missing here?
Thank you.