Results 1 to 10 of 10

Thread: choosing the amount of rows to display [RESOLVED]

  1. #1

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075

    Resolved 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

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    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.

  3. #3

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075

    Re: choosing the amount of rows to display

    rows of data
    It's tough being an unhandled exception...

    ___________
    VB.NET 2008
    VB.NET 2010
    ORACLE 11g
    CRYSTAL 11

  4. #4
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: choosing the amount of rows to display

    Works fine for me. Can you give more info...

  5. #5

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075

    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

  6. #6
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    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

  7. #7

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075

    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

  8. #8
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    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.

  9. #9
    Addicted Member mabbas110's Avatar
    Join Date
    Oct 2005
    Location
    Karachi , Pakistan
    Posts
    172

    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

  10. #10

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075

    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
  •  



Click Here to Expand Forum to Full Width