N
Novice User
Hi there,
Thank you in advance for anyone that can point me in the right direction on
this. I have a query that combines multiple tables and queries. Some of the
underlying queries have the same tables and use the same field. In the query
that combines these, it runs fine. However, when I create a report from this
query I get, the specified field "fieldname" could refer to more than one
table in the from clause of the SQL statement. I'm not understanding why I
would get this message when the query runs fine independently. In fact I
copied this query from one that works fine with a report. I copied the query,
changed the criteria and then copied the report that works and changed what I
needed there (which was only the field that it sorted and grouped on). That
was all I changed, the field that the report grouped by and the criteria the
query filted by. Everything else is exactly the same but one report runs
fine and the other gives me the error message. Any ideas on how to fix this?
Thank you in advance for anyone that can point me in the right direction on
this. I have a query that combines multiple tables and queries. Some of the
underlying queries have the same tables and use the same field. In the query
that combines these, it runs fine. However, when I create a report from this
query I get, the specified field "fieldname" could refer to more than one
table in the from clause of the SQL statement. I'm not understanding why I
would get this message when the query runs fine independently. In fact I
copied this query from one that works fine with a report. I copied the query,
changed the criteria and then copied the report that works and changed what I
needed there (which was only the field that it sorted and grouped on). That
was all I changed, the field that the report grouped by and the criteria the
query filted by. Everything else is exactly the same but one report runs
fine and the other gives me the error message. Any ideas on how to fix this?