ismahwati
asked on
Undo record update ?
i have a vb program attached to an access table.
How to write codes to undo any changes i;ve made
in one record. For example , name : first i key in John,
then i delete it and type in Maria. I need a button that
when clicked will undo maria to john back. thanks.
How to write codes to undo any changes i;ve made
in one record. For example , name : first i key in John,
then i delete it and type in Maria. I need a button that
when clicked will undo maria to john back. thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
=========Code start =========
Option Explicit
Dim A
Private Sub Command1_Click()
Text1.Text = A
End Sub
Private Sub Command2_Click()
Dim X
A = Text1.Text
X = InputBox("Enter a Name", "Update")
Text1.Text = X
End Sub
======== Code End ==========