D
dbvba
Guest
I have 2 forms. On the Form1, I have a public variable (stRecalc) declared as a string.
On a BeforeUpdate event of a field, I open another Form2 which is a dialog box and asks a question, which can result in one of 3 answers. The user clicks one of three buttonw to answer the questions. The onclick event fills the variable with a string answer which I want to pass back to the originating form.
I can't seem to get that variable back to the originating form, as soon as Form2 closes, its value is lost.
Any ideas?
Thanks!!
On a BeforeUpdate event of a field, I open another Form2 which is a dialog box and asks a question, which can result in one of 3 answers. The user clicks one of three buttonw to answer the questions. The onclick event fills the variable with a string answer which I want to pass back to the originating form.
I can't seem to get that variable back to the originating form, as soon as Form2 closes, its value is lost.
Any ideas?
Thanks!!