Hello all, I have edited my question to be clearer as I realize some might not understand what I posted earlier.
I have a form with the source from a query.
I have about 15 fields in my query, but users of the query regulary use about 5 of the fields.
How can I design my form such that on clicking the form, a set of text boxes comes up with fields from the query.
I found a post that I could use something like this in my query but that I needed to create a button on the form that would run the query.
Here is an example of the criteria I put in one of the query fields:
[Forms]![Manager]![Vendor] or Forms![Manager]![Vendor] Is Null
The problem is, on opening the form, I get a Name# error on each of the fields that have criteria in them.
Also, is there a way that I don't need to use a comman button on the form form, just by doubleclicking it will bring up text boxes and then I can put in the criteria needed.
What happens if I don't fill in one of the text boxes, would it only return results when that field is blank?
Please help,urgent.
Thanks again.
I have a form with the source from a query.
I have about 15 fields in my query, but users of the query regulary use about 5 of the fields.
How can I design my form such that on clicking the form, a set of text boxes comes up with fields from the query.
I found a post that I could use something like this in my query but that I needed to create a button on the form that would run the query.
Here is an example of the criteria I put in one of the query fields:
[Forms]![Manager]![Vendor] or Forms![Manager]![Vendor] Is Null
The problem is, on opening the form, I get a Name# error on each of the fields that have criteria in them.
Also, is there a way that I don't need to use a comman button on the form form, just by doubleclicking it will bring up text boxes and then I can put in the criteria needed.
What happens if I don't fill in one of the text boxes, would it only return results when that field is blank?
Please help,urgent.
Thanks again.