Solved

access reports

Posted on 2014-10-08
4
156 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 36

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Familiarize people with the process of utilizing SQL Server views 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 Microsoft Access…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

749 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