Limit sub report rows

Printed From: Crystal Reports Book — Forum Name: Technical Questions

I have a Crystal Report with a sub-report that can return many rows sometimes just too many. I want to limit the number of rows that are returned. Hard coding the limit is fine (how can this be done) but can it also be a parameter so users can choose if they want to see 4, 5, or more, or less, or even make a selection that allows all rows to be included?

Any help would be appreciated.