I am clueless why this error is occurring when running my query. It worked when I first created it, but now it won't do anything.
This is what I did:
I created a Query ("DeptList") that narrows down the search based on a date range inputted on a form. This one works fine.
Then I created a crosstab query based on "DeptList" where I count the number of cards submitted by department sorted by card type. Department is the row heading, card type is the column heading.
Now when I run the crosstab query it tells me that "MS Jet Database engine does not recognize "[Forms]![RunReport]![StartDate]" as a valid field name or expression".
If I replace the criteria in the DeptList Query to an actual date rather than referencing a field from a form, the crosstab query runs just fine.
I have double checked the form field many times and it does not seem to be a typo or anything.
Anybody knows what is going on? Can you not create crosstabs based on an input from a form?
Please help.
Thanks,
Stupiet
This is what I did:
I created a Query ("DeptList") that narrows down the search based on a date range inputted on a form. This one works fine.
Then I created a crosstab query based on "DeptList" where I count the number of cards submitted by department sorted by card type. Department is the row heading, card type is the column heading.
Now when I run the crosstab query it tells me that "MS Jet Database engine does not recognize "[Forms]![RunReport]![StartDate]" as a valid field name or expression".
If I replace the criteria in the DeptList Query to an actual date rather than referencing a field from a form, the crosstab query runs just fine.
I have double checked the form field many times and it does not seem to be a typo or anything.
Anybody knows what is going on? Can you not create crosstabs based on an input from a form?
Please help.
Thanks,
Stupiet