MS Access : Read form control value in a module's function -


I have an access database in which a user clicks on a button that runs a macro that runs a function Yes, complex and not in the module, I do not have permission to change a lot since the customer's application.

I am in the module as a function to read some combo-boxes and a radio button and the macro is called on the push of the button. How can you do this?

You can use the screen. Activate to get the form, or iterate again, the collection of the form or, if the change is allowed, then pass the name of the function to the function.

Once you have the name of the form, the controls are easy to render:

  form! [Name name]! [Name control]  

or

  form! NameFormat NameofControl  

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

jquery - SimpleModal Confirm fails to submit form -

php - Multiple Select with Explode: only returns the word "Array" -