Make a Command Button Copy info from 1 field to another field in a form

G

Guest

Hi
Thanks in advance for this
I would like to have a command button that copy info from one field to another and then clears the first field.
 
G

Guest

Private Sub cmdMyCommandButton_Click(

' copy text from field 1 to field
[txtField2] = [txtField1

' empty field
[txtField1] = "

End Su

If you're uncomfortable with code, use the SetValue action in a macro

----- Mike wrote: ----

Hi
Thanks in advance for this
I would like to have a command button that copy info from one field to another and then clears the first field.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top