I hate to beat a dead horse, but I've gone through this forum from top to bottom and still can't get this figured out.
I have a query to populate a Report. I have the criteria in the Date field as Between [Enter Beginning Date:] and [Enter Ending Date:] This works...the way it should! I also have a County field that in the Criteria is [Enter County to Search:] This works....
I thought it would be a time saver by letting the user choose from a combo box and the choice making up the criteria for the County. The problem comes in when I attempt to reference the Form (Search By County) with the Field (SearchCounty) in the Criteria of the query. What I get is the regular popup which says
Enter Parameter Value
Forms!Search By County!SearchCounty
I went through the forums and found every reference to this I could find and attempted everything I found--one of which was:
Like NZ([Forms]![Search By County Form]![SearchCounty],"" & "*"
plus others, even went through help in Access for Using a Form to Enter Report Criteria. I followed step by step, but as soon as I put anything in the criteria under County, it did the same thing, no Search By County Form, just the Enter Parameter Value.
I've put in quotes but Access gives me a syntax error. Am I missing something relatively simple? Any help on this would be greatly appreciated! I've been attempting this small trick for a week now and still haven't figured out which shell the ball is under!
I have a query to populate a Report. I have the criteria in the Date field as Between [Enter Beginning Date:] and [Enter Ending Date:] This works...the way it should! I also have a County field that in the Criteria is [Enter County to Search:] This works....
I thought it would be a time saver by letting the user choose from a combo box and the choice making up the criteria for the County. The problem comes in when I attempt to reference the Form (Search By County) with the Field (SearchCounty) in the Criteria of the query. What I get is the regular popup which says
Enter Parameter Value
Forms!Search By County!SearchCounty
I went through the forums and found every reference to this I could find and attempted everything I found--one of which was:
Like NZ([Forms]![Search By County Form]![SearchCounty],"" & "*"
plus others, even went through help in Access for Using a Form to Enter Report Criteria. I followed step by step, but as soon as I put anything in the criteria under County, it did the same thing, no Search By County Form, just the Enter Parameter Value.
I've put in quotes but Access gives me a syntax error. Am I missing something relatively simple? Any help on this would be greatly appreciated! I've been attempting this small trick for a week now and still haven't figured out which shell the ball is under!