isladogs
MVP / VIP
- Local time
- Today, 21:44
- Joined
- Jan 14, 2017
- Messages
- 18,799
Here's a strange issue I've not seen before
I have a report with a very large number of records
Filtered = 1758312 records ; Unfiltered = 2604721
I don't want anyone to print the report 'by accident' so I want the total number of pages to be displayed
In both cases the standard 'page of pages' footer shows as a negative number.
Also peculiar is that the filtered report with fewer records is more negative
My initial guess was that the built in Pages function is an integer & that the total pages had exceeded the integer value limit (32767) & somehow restarted from the negative integer limit
Having checked there are 47 records per page, so I've done a calculation of what I'd expect the result to be in each case.
So it does exceed the integer limit in each case but I still can't make sense of the valuers shown.
Can anyone else explain what is happening.
Even better can anyone give me a solution (apart from hide the '& Pages')
I have a report with a very large number of records
Filtered = 1758312 records ; Unfiltered = 2604721
I don't want anyone to print the report 'by accident' so I want the total number of pages to be displayed
In both cases the standard 'page of pages' footer shows as a negative number.
Also peculiar is that the filtered report with fewer records is more negative
My initial guess was that the built in Pages function is an integer & that the total pages had exceeded the integer value limit (32767) & somehow restarted from the negative integer limit
Having checked there are 47 records per page, so I've done a calculation of what I'd expect the result to be in each case.
So it does exceed the integer limit in each case but I still can't make sense of the valuers shown.
Can anyone else explain what is happening.
Even better can anyone give me a solution (apart from hide the '& Pages')
Attachments
Last edited: