WarrenTheWindmill
Programmer
I am using the dummy union workaround (using Where 0=1) to do a Select Distinct.
My problem is that I have a customer group sorted in ascending order on the report and Crystal is inserting an Order By clause at the end of the query in the form TABLENAME.FIELDNAME
When I run the report I get Oracle error 00904 "Invalid Column Name"
I've tried to figure out why, using PL/SQL developer to run the query, and discovered that if I remove the TABLENAME from the Order By clause it works fine.
Obviously I can't prevent CR8.5 from inserting this Order By in the form it does, (or can I?) so is there anything I can do to solve this problem without getting rid of my ascending order on customer?
Or is this a problem with the workaround which doesn't have another workaround to solve it?
Thanks in advance
My problem is that I have a customer group sorted in ascending order on the report and Crystal is inserting an Order By clause at the end of the query in the form TABLENAME.FIELDNAME
When I run the report I get Oracle error 00904 "Invalid Column Name"
I've tried to figure out why, using PL/SQL developer to run the query, and discovered that if I remove the TABLENAME from the Order By clause it works fine.
Obviously I can't prevent CR8.5 from inserting this Order By in the form it does, (or can I?) so is there anything I can do to solve this problem without getting rid of my ascending order on customer?
Or is this a problem with the workaround which doesn't have another workaround to solve it?
Thanks in advance