I have created a button on a form that opens another form. If the user changes the data in a particular field on the 2nd form, I want to change the caption on the button on the first form to the text in that field. This is the code I use:
Private Sub BinNumbertxt_AfterUpdate()
Forms!frmFGmap!button357.Caption = [BinNumbertxt]
Me.Refresh
End Sub
This appears to work. When I close the 2nd form, the caption on the button on the first form reflects what the user entered. But when I close the original form and then reopen it, the original caption is back. Why? How do make the caption change "permanent" until the user changes the field again?
Thanks.