Question : Pass variable from one field to the next and save variable in table

Add transactions to a table for specific contract from form containing data about that contract.

My user wants to view all the data about a specific contract before adding transactions.  

I have built a form that allows the user to view this information.

I have then built a second form that allows him to enter data.

I have the contract number passing from the first form to the second form.

I can enter the data and the data I enter is added to the table.  However, the contract number that I am passing from the first form to the second is not being saved.  

How do I get the number to save.

I am an inexperienced Excel programmer.....I do write SQL queries for reporting purposes, and understand relational databases (somewhat).

Answer : Pass variable from one field to the next and save variable in table

so, you are using a macro to open the 2nd form..

use VBA

On Click    [Event Procedure] (...)
              then click ________^^ this

in the window that will open, you will see

private sub nameoftheButton_Click()


end sub



what is the Name of the Button that you click??

post it here and we will continue
Random Solutions  
 
programming4us programming4us