Nov 10 2023 04:47 AM
I have put together a report in access and it is a summary of count from the query result but the table is repeating 100s of pages as you can see in the picture. Can anyone please let me know how to make it to only one page.
Nov 10 2023 05:38 AM
The problem is, most likely, in the query which provides records for the report, so we need to start with it.
Open that query. Does it return hundreds and hundreds of records? My guess would be that it does.
Explain, in a narrative, the goal you want to achieve.
Also, show us the SQL from this query. A screen shot of the Query Designer is okay, but the SQL is more useful.
Nov 10 2023 06:16 AM - edited Nov 10 2023 06:58 AM
Here is the query. Currently it returns 100s of lines but I limited the result to few lines yet it was not sucessfull. From the below query I am trying to make my result into a single page as summary such as - Items recieved for FY 2020, 2021 ..etc. which should ideally be only a single page as a summary.
SELECT TableNameA.Reference, TableNameA.Receiveddate, TableNameA.DATEAPVAL, TableNameA.Datedecision received, TableNameA.DTYPNUMBCO, DateDiff("ww", [DATEAPVAL], [Datedecision received]) AS TATS
FROM TableNameA
GROUP BY TableNameA.Reference, TableNameA.Receiveddate, TableNameA.DATEAPVAL, TableNameA.Datedecision received, TableNameA.DTYPNUMBCO
HAVING (((TableNameA.Receiveddate) > #1/1/2020#));
Nov 10 2023 06:30 AM
Nov 10 2023 06:37 AM
Nov 10 2023 06:39 AM
@Tom_van_Stiphout it's a typo. Please read date received as date decision received
Nov 10 2023 06:40 AM
Nov 10 2023 06:58 AM
Nov 10 2023 07:00 AM
Nov 10 2023 08:15 AM
@Libin7963 I don't think this is the full story. This query won't produce the output presented in your first post. Please explain how the output is generated. Or post a copy of your database.
Nov 10 2023 08:25 AM
@Libin7963 Please don't crosspost without telling so.
Crossposted here
Nov 11 2023 03:48 AM - edited Nov 11 2023 03:57 AM
@XPS35 Please see attached database of similar issue. As you can see in the report page the data is repeating.
Nov 11 2023 03:58 AM
@George_Hepworth please see a sample db with the same issue in the report
Nov 11 2023 05:24 AM
Nov 11 2023 06:54 AM - edited Nov 11 2023 06:55 AM
@George_Hepworth Thanks, if you see the report it is repeating to multiple pages and I want it to be just one pages.
Nov 11 2023 07:15 AM
Nov 11 2023 08:11 AM - edited Nov 11 2023 08:13 AM
@George_Hepworth sorry if I was not clear. It is this report that I don't want it to repeat as it is a summary from the Query1. I want it to be just one page only. can you please amend the database so that it doesn't repeat.
Nov 11 2023 09:23 AM
Nov 11 2023 09:50 AM
Here are two versions of a report which may be closer to what you need.
Nov 11 2023 10:32 AM - edited Nov 11 2023 10:33 AM
Thanks for the report but if you look at the report I created, the value I wanted was the received count for a specific period. Can you use the same below. Since it is just sort of summary info. from query it shouldn't be repeating on same page or to more than one page.
=Count(IIf(([Type] In ("A13","A07","A18",)) And ([Datevalid] Between #01/04/2020# And #31/03/2021#),[ID]))