A
ace
I'm pretty new at Access (I'm working in Access 2002) and I would
really appreciate some advice for creating a search form that will
eventually generate a report. I would like for the user to have the
ability to enter up to five different search criteria on the form:
1. City
2. State
3. Property Type
4. Date (a range from a starting date to ending date)
5. Loan/Unit (also a range from a low loan/unit to high loan/unit)
Once the user clicks the "Search" button, I would like for Access to
create a "filtered" report based on the criteria entered by the user,
i.e. the user could specify a "State" and "Date Range" for the report
or the user could enter information for all the search fields on the
form. I have created the form and the report, but I have no idea how
to write the code for the "On Click" event procedure for the command
button. Can anyone offer some ideas here? If I need to explain my
situation in more detail, then please let me know. Again, I would
really appreciate any help that you can provide.
Thanks,
R
really appreciate some advice for creating a search form that will
eventually generate a report. I would like for the user to have the
ability to enter up to five different search criteria on the form:
1. City
2. State
3. Property Type
4. Date (a range from a starting date to ending date)
5. Loan/Unit (also a range from a low loan/unit to high loan/unit)
Once the user clicks the "Search" button, I would like for Access to
create a "filtered" report based on the criteria entered by the user,
i.e. the user could specify a "State" and "Date Range" for the report
or the user could enter information for all the search fields on the
form. I have created the form and the report, but I have no idea how
to write the code for the "On Click" event procedure for the command
button. Can anyone offer some ideas here? If I need to explain my
situation in more detail, then please let me know. Again, I would
really appreciate any help that you can provide.
Thanks,
R