Solved

Open report with data sorted in ascending order

Posted on 2014-03-21
4
1,570 Views
Last Modified: 2014-03-21
In my database as attached, I have a report

subrptqryQtyTypes       based on       qryQtyTypes

which I want to open with records in an ascending order of  "VinTypeID" . I dont get it do open in ascending order.

Will you please have a look if you can fix it and/or tell me how.
ProblemReport.accdb
0
Comment
Question by:Fritz Paul
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform) earned 500 total points
ID: 39946437
Here's the deal:
In a Report, if you have *any* Grouping/Sorting configured (and you do), Access ignores *any* sorting in the underlying query for the Report.

Your query has sorting ... and is being ignored.

You must do the sorting via the Group/Sorting Dialog.

mx
0
 

Author Closing Comment

by:Fritz Paul
ID: 39946451
Thanks, I hope I'll remember that for ever!
0
 
LVL 75
ID: 39946469
It's not obvious ... until you know about it ... and now you do :-)

Note that worse ... JET still does the sorting in the query - wasting time :-(
I notice you are Grouping by several fields in the query. You might want to rethink that also ... and do it in the report, which may likely be more efficient ....

mx
0
 

Author Comment

by:Fritz Paul
ID: 39946497
THANKS!
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question