1 Replies - 1180 Views - Last Post: 30 July 2012 - 07:33 PM Rate Topic: -----

#1 akoako12  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 17
  • Joined: 12-July 12

value of txtbox from form 1 to pass to form2

Posted 30 July 2012 - 09:06 AM

sir how can i pass the value of a txtbox from form 1 to form 2 .for example i input name to txtbox1 form form.and then when i press ok it will print in form 2?
Is This A Good Question/Topic? 0
  • +

Replies To: value of txtbox from form 1 to pass to form2

#2 BobRodes  Icon User is offline

  • Your Friendly Local Curmudgeon
  • member icon

Reputation: 562
  • View blog
  • Posts: 2,935
  • Joined: 19-May 09

Re: value of txtbox from form 1 to pass to form2

Posted 30 July 2012 - 07:33 PM

You just have to precede the name of the control with the name of the form. If you have a text box called txtMyBox on Form2, then to refer to it from Form1 you say Form2.txtMyBox.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1