G
Guest
I have where the user can optionally enter information in text boxes. There
are command buttons that move the user to the next form to enter more data.
I want to prompt the user to save information if they have entered data
before moving on to the next form. I attempted the following, but got an
error (2455)
If Me.Dirty Then
Msg = "Do you want to save your changes?"
Title = "Save Changes?"
Response = MsgBox(Msg, vbYesNo, Title)
If Response = 6 Then
GoSub update_actual
End If
End If
are command buttons that move the user to the next form to enter more data.
I want to prompt the user to save information if they have entered data
before moving on to the next form. I attempted the following, but got an
error (2455)
If Me.Dirty Then
Msg = "Do you want to save your changes?"
Title = "Save Changes?"
Response = MsgBox(Msg, vbYesNo, Title)
If Response = 6 Then
GoSub update_actual
End If
End If