|
-
Aug 24th, 2006, 12:59 PM
#1
Thread Starter
Frenzied Member
choosing the amount of rows to display [RESOLVED]
In crystal how do you set a limit on the amount of rows to display? On the Format Editor under the Common Tab I selected the "Can Grow" checkbox and put in 25 lines, but thats not working...
Last edited by EyeTalion; Aug 28th, 2006 at 09:14 AM.
Reason: Resolved
It's tough being an unhandled exception...
___________
VB.NET 2008
VB.NET 2010
ORACLE 11g
CRYSTAL 11
-
Aug 24th, 2006, 01:35 PM
#2
Re: choosing the amount of rows to display
Rows of textdata or the # of database records per page?
Last edited by brucevde; Aug 24th, 2006 at 01:41 PM.
-
Aug 24th, 2006, 01:37 PM
#3
Thread Starter
Frenzied Member
Re: choosing the amount of rows to display
It's tough being an unhandled exception...
___________
VB.NET 2008
VB.NET 2010
ORACLE 11g
CRYSTAL 11
-
Aug 24th, 2006, 01:50 PM
#4
Re: choosing the amount of rows to display
Works fine for me. Can you give more info...
-
Aug 25th, 2006, 07:45 AM
#5
Thread Starter
Frenzied Member
Re: choosing the amount of rows to display
Just looking to display the first 25 records...
It's tough being an unhandled exception...
___________
VB.NET 2008
VB.NET 2010
ORACLE 11g
CRYSTAL 11
-
Aug 25th, 2006, 09:39 AM
#6
Re: choosing the amount of rows to display
Okay so which is it? the first 25 records or 25 lines of data.
The CanGrow property is for a single field, like a Memo/Text field. Setting Maximum lines to 25 should work.
If you only want to display 25 records per page, add the following to the "New Page After" formula in the section editor - most likely for the Details section.
RecordNumber Mod 25 = 0
-
Aug 25th, 2006, 12:42 PM
#7
Thread Starter
Frenzied Member
Re: choosing the amount of rows to display
I'm looking to just show the first 25 records and that's it. Not 25 records per page.
It's tough being an unhandled exception...
___________
VB.NET 2008
VB.NET 2010
ORACLE 11g
CRYSTAL 11
-
Aug 25th, 2006, 01:23 PM
#8
Re: choosing the amount of rows to display
If the report datasource is a query, use the Top clause in the select statement.
Otherwise you could Suppress the Details section with this formula
RecordNumber > 25
However report Formulas, Summaries etc will still include data from all records.
-
Aug 26th, 2006, 07:11 AM
#9
Addicted Member
Re: choosing the amount of rows to display
You can put a running total on the report , that only does counting of rows , means count any of the field and then just save it by any name like example recno
in the record selection wirte the formula
recno<=25.
Thanks and Regards,
Muhammad Abbas
-
Aug 28th, 2006, 09:12 AM
#10
Thread Starter
Frenzied Member
Re: choosing the amount of rows to display [RESOLVED]
I used the Group Sort Expert and was able to display the Top 25 records that I needed....
It's tough being an unhandled exception...
___________
VB.NET 2008
VB.NET 2010
ORACLE 11g
CRYSTAL 11
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|