Hi,
A simple question
How can I save form changes (not record changes) with a command button?
Lets say I have a code that sets Me.Detail.BackColor=vbRed, and I want this change to be permanent.
I've tried the following, which does not work:
Any suggestions?
thanks!!!
A simple question
How can I save form changes (not record changes) with a command button?
Lets say I have a code that sets Me.Detail.BackColor=vbRed, and I want this change to be permanent.
I've tried the following, which does not work:
Code:
Private Sub btnChange_Click()
Me.Detail.BackColor = vbRed
DoCmd.Save acForm, "FrmName"
End Sub
Any suggestions?
thanks!!!