I have a report to print a song list that is based on a query. The query is
sorted in ascending fashion on the artists name. If I view the query, the
order is correct (artist name, song name, song writer, song key). If I create
a report using this query and only display this artist name field, the report
is in the correct order, by artist name. If I add any other field (song name,
writer,key) to the report, then the order is no longer correct. It starts
displaying based on the auto number ID field for the artist's name, instead
of the name. I used the report wizard to create the report. I don't
understand what's is causing this. Could somebody clear this up for me?
Thanks,
RandyM
SusanV - 16 Mar 2007 15:33 GMT
You can set the order via the report properties, data tab, Order By - be
sure to also set Order By On to Yes.

Signature
hth,
SusanV
>I have a report to print a song list that is based on a query. The query is
> sorted in ascending fashion on the artists name. If I view the query, the
[quoted text clipped - 11 lines]
> Thanks,
> RandyM
Phil Hunt - 16 Mar 2007 16:12 GMT
The report has a "Sort/Group by" property which can override the Query order
by.
Try open the report and take a look at the items availble on the tool bar.
>I have a report to print a song list that is based on a query. The query is
> sorted in ascending fashion on the artists name. If I view the query, the
[quoted text clipped - 11 lines]
> Thanks,
> RandyM
fredg - 16 Mar 2007 18:01 GMT
> I have a report to print a song list that is based on a query. The query is
> sorted in ascending fashion on the artists name. If I view the query, the
[quoted text clipped - 7 lines]
> Thanks,
> RandyM
Any sort order in the query is irrelevant to the sort order in a
report.
To set the sort order in a report, use the report's Sorting and
Grouping dialog.
In Report Design View click on
View + Sorting and Grouping

Signature
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail