Transfer text from one field to another

R

RussCRM

Is there a way to use a command button to transfer text from one field
to another? For instance, lets say I have a two fields like
txtCurrentOrder and txtPreviousOrder. I want a command button that
says, "Add New Order" and when it is clicked, I want to transfer the
information in txtCurrentOrder to the txtPreviousOrder field.
(They're in the same table.)

Any suggestions??
 
D

Douglas J. Steele

Assuming that the button is named cmdAdd, something like

Private Sub cmdAdd_Click()

Me.txtPreviousOrder = Me.txtCurrentOrder

End Sub
 
Top