Solved

SubReports - data is not sorting on the report (but the query that is its source is sorting in the right order.....)

Posted on 2011-03-07
2
377 Views
Last Modified: 2012-05-11
Hi EE,

My assignment is to print a student's progress report (like a report card).
The parent report has fixed fields of student profile info in the header section.
To "imitate" a 2 column report,  the detail section consists of 2 subreports.

SubReport1 is column 1 - shows fall      semesters by filtering for ColumnCode = 1
SubReport2 is column 2 - shows spring  semesters by filtering for ColumnCode =  2

The parent report's query is a DISTINCT on the fixed fields from TBL_Transcript.
The sub report's query is a does not have a condition in the query for the column code, instead am doing the filter on the column code in the report level.

  (Really would like to pass the column code to the query, but i do not know how...
   usually i hard code the record source with sql and know how to code sql, but would like to learn how to control
    canned queries w/o writing sql.... but i digress)

The problem is, that the query IS SORTING CORRECTLY IN START DATE sequence,
     but it's not displaying that way on the report....

uploaded mdb below....
tx for your ideas and advice, sandra    
2011-03-07-EE-ARG-14-Transcript-.zip
0
Comment
Question by:mytfein
[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 Comments
 
LVL 58

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 500 total points
ID: 35059237
<<The problem is, that the query IS SORTING CORRECTLY IN START DATE sequence,
     but it's not displaying that way on the report....>>

  Reports ignore any sorting in the underlying query because the report needs to know how things are ordered in order to do its job.

  Set the sort in the reports sorting and grouping properties and you'll be set.

JimD.
0
 

Author Comment

by:mytfein
ID: 35059340
Hi JIm,

that was it.... tx so much, s
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
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…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

726 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