Solved

access reports

Posted on 2014-10-08
4
154 Views
Last Modified: 2014-10-14
I am designing a report in Access 2007, based upon a query.
The first group is based upon a date field (TransferDate).
I have defined a second group (a sub-group)  which is based upon an expression, which is 3 string fields concatinated.
Finally there is a detail section which displays data from each record.

When I run the report, I expected all the detail records in the subgroup to have the same TransferDate.
Not so!  I get just one TransferDate group, and each subgroup has detail records with various TransferDates.

What am I missing?

(I am an experienced programmer, but have not worked much with Access Reports.)
0
Comment
Question by:MatthewNicoll
  • 2
4 Comments
 
LVL 47

Expert Comment

by:Dale Fye (Access MVP)
ID: 40369812
Can you take a screen shot of the report in design view, showing the grouping and sorting at the bottom of the report designer as well?

Also might be helpful to see the query that is the Recordsource for the report.  

Sample database would be even more helpful, if possible
0
 
LVL 35

Expert Comment

by:PatHartman
ID: 40370730
Make sure the master/child links are set correctly for the subreport.
0
 

Accepted Solution

by:
MatthewNicoll earned 0 total points
ID: 40371180
Thank you Pat & Dale for your suggestions.
I found the problem: the top-level group (TransferDate) had "by Quarter" selected in the "Group, Sort and Total" settings.  I didn't (knowingly) select "by Quarter", so I presume that that is the default for a group based upon a date!  I changed that to "by entire value", and that solved the problem.

(First I replaced the 1 group based upon a concatenation of 3 fields with 3 groups - one per field, with the first two having no report space.  That did not fix the problem, but it is probably a cleaner design.)
0
 

Author Closing Comment

by:MatthewNicoll
ID: 40379419
I discovered the solution before anyone else suggested it.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

856 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