?
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
Medium Priority
?
382 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 2000 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Suggested Courses

771 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