send info from one text box in form 1 to a text box in form 2

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

Guest

i am entering data in a text box in form 1 and that data
has to go to a certain text box in form 2
 
When do you want this to occur? You could use the AfterUpdate event of the
control or the AfterUpdate event of the record to do this with a simple
assignment statement similar to the following:

'From some event on Form 1

forms!form2.txtB=me.txtA

This saves the value in txtA on Form 1 to txtB on Form 2.
 
There are any number of solutions.
The most correct and easiest is to make sure that both forms are based on
the same table or query and both fields have the same source.
 
You'll have to post the code you've tried and tell me what is happening (or
what isn't happening that you expect to happen). Be specific - it's hard to
be helpful without having the relevant details.

Thanks,

--
Sandra Daigle [Microsoft Access MVP]
Please post all replies to the newsgroup.


 
Back
Top