Copy text on Click

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to code a button that will copy text from a text box on one form to a
text box on another form, when the Checkbox associated with the original text
box = Yes.

TIA.

- Steve
 
I want to code a button that will copy text from a text box on one form to a
text box on another form, when the Checkbox associated with the original text
box = Yes.

TIA.

- Steve

Both forms must be open at the same time.

On Form1, code the CheckBox AfterUpdate event:

If Me![CheckBoxName] = -1 Then
forms!Form2!ControlName = Me![TextControl]
End If

What do you want to happen if someone then UNCHECKS the box?
 
That's one of the reasons why I want the button to place the text into
another box. Also, the first text box is in a continuous form, so there are
multiple items listed, and I would like the option of checking multiple items
to be placed in the second box. I originally did this with a multi-select
list box, but some of the items (rows in the list box) are more than 255
characters, which is the limit for each item.

- Steve


fredg said:
I want to code a button that will copy text from a text box on one form to a
text box on another form, when the Checkbox associated with the original text
box = Yes.

TIA.

- Steve

Both forms must be open at the same time.

On Form1, code the CheckBox AfterUpdate event:

If Me![CheckBoxName] = -1 Then
forms!Form2!ControlName = Me![TextControl]
End If

What do you want to happen if someone then UNCHECKS the box?
 
Back
Top