I have a chart displaying the top 10 results on a form with users providing the input for a specific city. The form is based on a query that does not filter by City. I use a "Select" query to filter the data that the user types. My trouble is the [City] value in the original query is not being updated to the value typed in by the user. If I filter the query initially, Access requires the user to type in the value again after running the query before it builds the chart. I don't want to make the user type the city name more than once, plus if the user doesn't type it in exactly the same way twice, the results are skewed. How can I save the value the user types into the parameter box and display it as a header for my chart?
First, with respect to the city. In an effort to eliminate the need for the user to be correct in the typing, how about using a combo box that has its rowsource set to the available citys in alpha a-z order. Then all the user has to do is type some of the city first letters and the rest is provided by access. The second part of the problem is saving the value. Is the user filling in the parameter imput box for the query? And if they are, try to point the query criteria to the field on the form instead of using the parameter prompt. If this is not making any sense let me know. I may not have fully understood the question or your setup.
Thanks John, I had discussed this possible solution with a friend, but wanted to know if there was some easy thing I was over-looking. I added a combobox and that handled the issue. Thanks again for confirming my next step.
RE: Update description of Chart in Form?
John A. Gilman
gms@uslink.net
RE: Update description of Chart in Form?
I had discussed this possible solution with a friend, but wanted to know if there was some easy thing I was over-looking. I added a combobox and that handled the issue. Thanks again for confirming my next step.
Bryan Meek
bmeek@pacbell.net
Meek Enterprises - Personal Technology Consultant
A TC in your corner gives you the personal attention you need to find the right technology solutions for your business.