Solved

access reports

Posted on 2014-10-08
4
145 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 34

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In the article entitled Working with Objects – Part 1 (http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_4942-Working-with-Objects-Part-1.html), you learned the basics of working with objects, properties, methods, and events. In Work…
In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
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 the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now