Passing parameters in VBA for Access
Posted
by Newbie
on Stack Overflow
See other posts from Stack Overflow
or by Newbie
Published on 2010-05-03T08:13:21Z
Indexed on
2010/05/03
8:18 UTC
Read the original article
Hit count: 182
In Access 2007 I have created a form with a textbox and a button. At the moment, when I press the button, I load a query with the textbox data passed as a parameter to the query criteria.
I would like to change this so that all (manually input) options appear in a combobox (in place of the textbox). I would then like to pass the combobox text to a VBA module upon pressing the button. How do I do this?
Similarly, I hope to output a different string from this module, and I hope to use this as the query criteria. How do I do this?
© Stack Overflow or respective owner