I am trying to do something that should be quite simple and I cannot find what is going wrong.
I have a report based on a parameter query. There are two fields that prompt for parameters, NameField and DateField. When prompted for criteria it worked, but you had to enter the criteria as many as seven times, which is unacceptable. I tried to avoid this by having the parameters reference an unbound form.
The NameField criteria is this:
[Forms]![ChooseReportForm]![StudentFullName]
The DateField criteria is this:
Between [Forms]![ChooseReportForm]![Start] And [Forms]![ChooseReportForm]![End]
If I try to open the query I am prompted for this criteria and it works fine. When I try to use my form it retrieves no data. I am also making sure the form remains open and that doesn't seem to be the problem.
Is the problem that my form or my fields are unbound?
Any ideas?
I have also tried renaming forms and fields and that didn't seem to be the problem.
Carly
I have a report based on a parameter query. There are two fields that prompt for parameters, NameField and DateField. When prompted for criteria it worked, but you had to enter the criteria as many as seven times, which is unacceptable. I tried to avoid this by having the parameters reference an unbound form.
The NameField criteria is this:
[Forms]![ChooseReportForm]![StudentFullName]
The DateField criteria is this:
Between [Forms]![ChooseReportForm]![Start] And [Forms]![ChooseReportForm]![End]
If I try to open the query I am prompted for this criteria and it works fine. When I try to use my form it retrieves no data. I am also making sure the form remains open and that doesn't seem to be the problem.
Is the problem that my form or my fields are unbound?
Any ideas?
I have also tried renaming forms and fields and that didn't seem to be the problem.
Carly