webfaktor
Technical User
- May 22, 2001
- 22
I have a report built on a query, with this query having a parameter that is provided by a selection from a combo box on a form.
I am in need of instruction upon how to have this parameter query look to more than one form/combobox to acquire its parameter. Only one form will be open at a time, in which case one of the parameters will be NULL. I've gathered that the Nz Function might work for me - but I cannot find an example or directions on how to implement it with the sample parameter query criteria I've written below.
[Forms]![FormNameA]![SubFormNameA]![FieldName1] Or [Forms]![FormNameB]![FieldName1]
I would like to learn to do this in order to keep down the size/complexity of my database, i.e., I would then not need to duplicate a query/report for each place within my database that the report is to be launched from.
So much to learn!
Web
I am in need of instruction upon how to have this parameter query look to more than one form/combobox to acquire its parameter. Only one form will be open at a time, in which case one of the parameters will be NULL. I've gathered that the Nz Function might work for me - but I cannot find an example or directions on how to implement it with the sample parameter query criteria I've written below.
[Forms]![FormNameA]![SubFormNameA]![FieldName1] Or [Forms]![FormNameB]![FieldName1]
I would like to learn to do this in order to keep down the size/complexity of my database, i.e., I would then not need to duplicate a query/report for each place within my database that the report is to be launched from.
So much to learn!
Web