I agree with David just passing the data you required for the report is the preferred method. However, if you can't limit the data you send to the report, you can create a selection forumla in your report template using a parameter field and then set the parameter field via code to limit the report output output.
Check out the Crystal Reports documenation about selection formulas and parameter fields.