A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Hide/Limit Records in a Report



 
 
Thread Tools Display Modes
  #1  
Old April 4th, 2007, 04:28 PM posted to microsoft.public.access.reports
Steve Hughes
external usenet poster
 
Posts: 3
Default Hide/Limit Records in a Report

Hi, I have a subreport that contain upto 63 records. However I can only fit
32 lines on a singe page and then the remainder goes onto the next page. I
want the report to stay on a singe side, therefore I want to limit one report
to 32 records and then display the remaining records on another report. I
have created a count field within the report, however how do I prevent one
report showing records after number 32 and the other only showing records
after 32.

Any help would be grately appreciated. Tahnks
  #2  
Old April 4th, 2007, 04:37 PM posted to microsoft.public.access.reports
Allen Browne
external usenet poster
 
Posts: 11,706
Default Hide/Limit Records in a Report

Create 2 queries to feed the 2 reports.
In query design view, open the properties box.
Set the Top Values property to 32 for one query, and 31 for the other.

You will need to sort these queries in opposite ways. For example, if you
sort on a field named ID, the first will need to be Ascending, and the seond
query Descending.

(On the reports, you can sort them any way you wish. This is just for
selecting the TOP records.)

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Steve Hughes" wrote in message
...
Hi, I have a subreport that contain upto 63 records. However I can only
fit
32 lines on a singe page and then the remainder goes onto the next page. I
want the report to stay on a singe side, therefore I want to limit one
report
to 32 records and then display the remaining records on another report. I
have created a count field within the report, however how do I prevent one
report showing records after number 32 and the other only showing records
after 32.

Any help would be grately appreciated. Tahnks


  #3  
Old August 6th, 2007, 02:49 PM posted to microsoft.public.access.reports
MIchael
external usenet poster
 
Posts: 25
Default Hide/Limit Records in a Report

I was under the impression that reports in Access ignored the MAX records property from a query?

EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com
  #4  
Old August 6th, 2007, 04:58 PM posted to microsoft.public.access.reports
Michael[_12_]
external usenet poster
 
Posts: 75
Default Hide/Limit Records in a Report

From postings
http://www.developerfood.com/hide-li...a/article.aspx
Michael wrote in message ...
I was under the impression that reports in Access ignored the MAX records
property from a query?

EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:06 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.