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

Using Variables between forms

Status
Not open for further replies.

AmatuerAtBest

Technical User
Jan 3, 2007
8
US
I am trying to use one form to have the user input a "device number", and then that opens a new form in which that number will be used. I am unable to get the input variable however to actually be usable in the new form. Any help would be great!
 
What I am doing is using one form, clicking a button in it that asks the user for "invoice number" then it asks shipping information, and at the end it pops up another form that allows the user to enter in how much of each item was shipped. The problem that I am having is that the new form does not know the "invoice number" that was entered in in the previous form, adn I am not sure how to transfer the variable between the two forms. Thanks for the help!
 
The invoice number can be obtained by referring to the form that holds the invoice number. Have another look at my first post.
 
Sorry, I am not understanding what you are trying to tell me. For what its worth, all I really want is to use an input variable in a pop up form, from a variable that was input in another form.
 
Please post the name of the form that the invoice number is entered into, the name of the textbox that the invoice number is entered into and the code from the second form where you want the invoice number to be used.
 
I figured it out. It was a label error, (I am updating a database for the new year) Thanks for all of your help this morning!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top