Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / March 2007

Tip: Looking for answers? Try searching our database.

Report not in right order

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
WCDoan - 16 Mar 2007 15:10 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
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

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.