yippie_ky_yay
Registered User.
- Local time
- Today, 02:54
- Joined
- Jul 30, 2002
- Messages
- 338
Hello all,
My report is a listing of people using the following info:
FIRSTNAME LASTNAME TITLE GROUPNAME
Not everyone in a group has a title - but if they do, I want them to appear first in each sub-group (GROUPNAME).
So I wrote a query that says: "SELECT blah blah FROM TABLE1, TABLE2, TABLE3 ORDER BY TABLE2.GROUPNAME, TABLE3.TITLE DESC , TABLE1.LASTNAME;
When I preview the query, the results appear exactly as I want - however, when I preview the report it looks like the order by was overwritten because now it is still ordered and group appropriately, but everyone in the subgroup is ordered by LASTNAME - as if the TABLE3.TITLE DESC was ignored.
Anyone know what could be causing this? Is there a limit to the amount of ORDER BYs that you can use in a report?
Thanks!
-Sean
My report is a listing of people using the following info:
FIRSTNAME LASTNAME TITLE GROUPNAME
Not everyone in a group has a title - but if they do, I want them to appear first in each sub-group (GROUPNAME).
So I wrote a query that says: "SELECT blah blah FROM TABLE1, TABLE2, TABLE3 ORDER BY TABLE2.GROUPNAME, TABLE3.TITLE DESC , TABLE1.LASTNAME;
When I preview the query, the results appear exactly as I want - however, when I preview the report it looks like the order by was overwritten because now it is still ordered and group appropriately, but everyone in the subgroup is ordered by LASTNAME - as if the TABLE3.TITLE DESC was ignored.
Anyone know what could be causing this? Is there a limit to the amount of ORDER BYs that you can use in a report?
Thanks!
-Sean