Heres what I am doing.
I have a form "PO2" that when you hit a button it opens a form "FileName" that has another textbox on it and a continue button. The text box need to show a value that is calculated by code. The user is able to change this text box hit the continue button and then the value of the textbox needs to be in the "PO2" form code and the "fileName" form closes.
I also need the option that when you have the "FileName" form open you can hit a cancel button and you jsut go back to the "PO2" form. The code needs to basically stop I think.
Can anyone help me out......Im wondering if I can do this like a function where in my "PO2" form code I can set a variable to FileName=GetFileName() and then the function GetFileName() opens the form gets that value and returns it.
I have a form "PO2" that when you hit a button it opens a form "FileName" that has another textbox on it and a continue button. The text box need to show a value that is calculated by code. The user is able to change this text box hit the continue button and then the value of the textbox needs to be in the "PO2" form code and the "fileName" form closes.
I also need the option that when you have the "FileName" form open you can hit a cancel button and you jsut go back to the "PO2" form. The code needs to basically stop I think.
Can anyone help me out......Im wondering if I can do this like a function where in my "PO2" form code I can set a variable to FileName=GetFileName() and then the function GetFileName() opens the form gets that value and returns it.