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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing values from one form to another

Status
Not open for further replies.

pryest

Programmer
Dec 26, 2006
24
US
Hey gang,
I have a main form that is a summary of customer activity. Orders, returns, etc. What I would like to do is have a button on the side of the main form to add new order or return. When clicked I would like the order form to open and the customer ID and Name to be passed to the order form. I know this can be done with an sub form but there are space issues so spawning a new form is the best way for me to handle this one. What would be the best way to pass the information from the main form to the order form?

Thanks
 
Have a look at OpenArgs.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top