How to limit records in the detail section?

eg:- Suppose DetailSectionRecords is a property
Report.DetailSectionRecords= 10

Only 10 records in detail section per page will be printed.
what is the code for doing the same??

pls help its very urgent