Hi s

You tell the Crystel report which subreport you want to change and simply make the changes to that sub report as if it were the main report. In the code below I set the SubreportToChange property to the correct sub report. I then set its selection formula, and then set the focus back to the main report with the last line.
VB Code:
  1. CrystalReport1.SubreportToChange = <<sub report name>>
  2.     CrystalReport1.SelectionFormula  = <<your selection formula>>
  3.     CrystalReport1.SubreportToChange = ""
Good luck

FW