Hi Shanaji,
Try this...
Place this code where you call the report...
RptParams RollParams = new RptParams(this);
RollParams.ShowDialog();
if (lSuccess)
{
RollsByFormClass RollsByForm = new RollsByFormClass(strFormula);
RollsByForm.Show();
}
Place this code in your report form...
if (strFormula != string.Empty)
crReportDocument.DataDefinition.RecordSelectionFor mula = strFormula;
strFormula contains all the parameters you want to pass to the report and completely replaces the scoping phrases in Crystal.
eg: strFormula = "{Customer.Surname} = " + TextBox1.Text.Trim();
cheers,
Mark Chimes
I want to retrive datas to crystal report by selecting id from one combo and pwd from another combobox dynamically
Please Help Me