Using Access 2010
My database is about 800,000 lines of my city's appraisal district property records. I created a form following this template (Use a parameter to make a query ask for input - Access - Office.com) and it works pretty well. The link only uses one parameter as an example, but I just added the multiple parameters myself. Pretty simple stuff.
Here's where I am stuck (disclosure: I'm not so hot with Access, but pretty good with Excel):
1) The created form has two actionable buttons - Ok, and Cancel. The Ok button (via a macro) takes you to the Query data sheet, but does NOT refresh the data to recognize the new/updated parameters. I have tried adding Refresh and RefreshRecord as a New Action both before and after the macro opens the query datapage. The only way I can get the query to refresh is to manually click the Refresh All button on the home tab. It needs to refresh upon clicking the Ok button.
2) Some of the values in the fields are null/blank values. Examples a things like year the home was built or date of a deed transfer. I'd like to be able to do two things: A) leave a field in my form blank and B) return records with null values (at my option). Example: I set the date parameter range from blank (or from the beginning of time) to end of 2012. If I enter 1/1/1900 to capture early records, it still misses records with null values in the date field.
3) Finally, and seemingly simplest, is that I'd like to clear/reset all the parameters and view the whole dataset if I want to use simple filtering for some reason. Sure, I could create a separate query, but that seems a little redundant. How can I do this?
Think that covers it. Any and all help would be appreciated.
My database is about 800,000 lines of my city's appraisal district property records. I created a form following this template (Use a parameter to make a query ask for input - Access - Office.com) and it works pretty well. The link only uses one parameter as an example, but I just added the multiple parameters myself. Pretty simple stuff.
Here's where I am stuck (disclosure: I'm not so hot with Access, but pretty good with Excel):
1) The created form has two actionable buttons - Ok, and Cancel. The Ok button (via a macro) takes you to the Query data sheet, but does NOT refresh the data to recognize the new/updated parameters. I have tried adding Refresh and RefreshRecord as a New Action both before and after the macro opens the query datapage. The only way I can get the query to refresh is to manually click the Refresh All button on the home tab. It needs to refresh upon clicking the Ok button.
2) Some of the values in the fields are null/blank values. Examples a things like year the home was built or date of a deed transfer. I'd like to be able to do two things: A) leave a field in my form blank and B) return records with null values (at my option). Example: I set the date parameter range from blank (or from the beginning of time) to end of 2012. If I enter 1/1/1900 to capture early records, it still misses records with null values in the date field.
3) Finally, and seemingly simplest, is that I'd like to clear/reset all the parameters and view the whole dataset if I want to use simple filtering for some reason. Sure, I could create a separate query, but that seems a little redundant. How can I do this?
Think that covers it. Any and all help would be appreciated.