Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy Value from a text mx on on form to a text box on another 2

Status
Not open for further replies.

metalboy

Technical User
Apr 1, 2004
97
GB
I know how tho copy a value from one text box to another on the same form but how do you do it from one form to another?

Regards

Alex
 
Take a look in the FAQ area

Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Just add the complete references, say having one control on the current form where you want to put the value of txtBox2 in frm2:

[tt]me!txtBox1.Value=forms!frm2!txtBox2.Value[/tt]

Or the opposite

[tt]forms!frm2!txtBox2.Value = Me!txtBox1.Value[/tt]

Next step is subforms, where this link might come in hancy How to Refer to a Control on a Subform or Subreport

Roy-Vidar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top