Solved

access reports

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
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 …
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

777 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