My Form_FormMode7 has a query on my table. as the Record Source
A control txtBComment on the Form has it's control source set to a field from the property box dropdown list.
A second text box copies text to that control via after update event
Why does this not work reliably? Sometimes the table is updated but often not. I have to double check it every time.Code:Private Sub BComment_AfterUpdate() txtBComment = Replace(Nz(BComment), vbCrLf, vbLf) With Form_FormMode7 If .Dirty Then .Dirty = False End With End Sub
The code runs without error. I added the .Dirty believing it forced a save, but it made no difference.