How to get information from one form to another?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • carl2k2
    New Member
    • Mar 2008
    • 15

    How to get information from one form to another?

    Lets say if information has been select via check boxes, and a total price information in one form, how to make like an invoice slip, so all data from one form that I want will go to the next like an order confirmation.
  • kadghar
    Recognized Expert Top Contributor
    • Apr 2007
    • 1302

    #2
    Originally posted by carl2k2
    Lets say if information has been select via check boxes, and a total price information in one form, how to make like an invoice slip, so all data from one form that I want will go to the next like an order confirmation.
    lets say you have CheckBox1 in Form1, and you want that when you click CommandButton1 in Form2, it does something with chkbox1:

    write in commandbutton1 click event:

    msgbox form1.checkbox1 .text

    Remember Forms are parents of their controls.

    HTH

    Comment

    Working...