Place this code where you call the report...
RptParams RollParams = new RptParams(this) ;
RollParams.Show Dialog();
if (lSuccess)
{
RollsByFormClas s RollsByForm = new RollsByFormClas s(strFormula);
RollsByForm.Sho w();
}
Place this code in your report form...
if (strFormula != string.Empty)
crReportDocumen t.DataDefinitio n.RecordSelecti onFormula = strFormula;
strFormula contains all the parameters you want to pass to the report and completely replaces the scoping phrases in Crystal.
Comment