Carry over variables in code after form has closed

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello everyone and thanks in advance for your assistance.
I have a form that pops up in the middle of code (set to pop up, modal and
opened acDialog) as a type of custom input box. My problem is how to I get
the variables to carry over in the code once the form has closed? Currently
I've set them to Public variables but they are null as soon as the form
closes.
Thanks once again
Brett
 
Declare the variable as a global variable in the decleration section of one
of the modules, and not under the form.
 
Thanks - worked a treat.

Ofer said:
Declare the variable as a global variable in the decleration section of one
of the modules, and not under the form.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top