docmd.OpenForm -- a question about the parameters
Posted on 2011-02-24
I'm using the docmd.OpenForm command to open a form when a button is clicked. I'm also trying to pass the form to be opened some information about what data to show when the button is clicked; however, I'm very confused about the following possible paramters I could use. So, for 500 points could someone succinctly summarize the difference between:
FilterName, WhereCondition, OpenArgs
and describe a typical situation when you'd use it?
Are there any corresponding properties that the form to be opened needs to have set for any of these?
[For context, the first form is contains multiple user search parameters, and the second is an unbound Main form (with buttons) with the subform displaying the resultset desired by the user.]