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

Is there an open source WebSockets (JavaScript) XMPP library? -

java - Is there an object like a "Set" that can contain only unique string values, but also contain a count on the number of occurrences of the string value? -

iphone - How do I make a UIPickerView in a UIActionSheet -