G
Guest
I have several reports in my database which correlate to different types of
real estate properties (vacant land, commercial property, etc.) that are
stored in the same master properties table. All the reports run off the same
underlying query. When a user queries the table, he or she first selects the
appropriate report type. All the reports lead to the same unbound form that
accepts the parameters for the search. One of the parameters for the search
allows the user to select a property type (the field name is [Use]).
I would like for the parameter form to automatically fill in a particular
type of property based on the user's report selection. For instance, if the
user selects the vacant land report, when the parameter form pops up, I would
like for the [Use] field to be automatically set to "Vacant". I feel like
the natural place to put such a command is in the OnOpen event procedure of
the report, which currently brings up the parameter form. What is the
correct syntax for this sort of command?
I am using Access 2003, mdb file format. Thank you very much for you help-
Wil Loftis
real estate properties (vacant land, commercial property, etc.) that are
stored in the same master properties table. All the reports run off the same
underlying query. When a user queries the table, he or she first selects the
appropriate report type. All the reports lead to the same unbound form that
accepts the parameters for the search. One of the parameters for the search
allows the user to select a property type (the field name is [Use]).
I would like for the parameter form to automatically fill in a particular
type of property based on the user's report selection. For instance, if the
user selects the vacant land report, when the parameter form pops up, I would
like for the [Use] field to be automatically set to "Vacant". I feel like
the natural place to put such a command is in the OnOpen event procedure of
the report, which currently brings up the parameter form. What is the
correct syntax for this sort of command?
I am using Access 2003, mdb file format. Thank you very much for you help-
Wil Loftis