View Full Version : Copy Contents


Achiaino
01-29-2002, 12:12 PM
Is there a way to, for example, copy the contents of field A to field B when the user clicks a button? I'm a new user to Access and any help would be greatly appreciated.

D B Lawson
01-29-2002, 01:13 PM
In the forms design view, double click the command button that you want to add the code to and the Properties box appears. Select the Event tab. Double click the OnClick event and click the build button. Add this between the Private Sub and End Sub lines:

Me.FieldB = Me.FieldA

[This message has been edited by D B Lawson (edited 01-29-2002).]