Hi,
Try the following procedure :
1. Create a formula field e.g., 'Field1' with with value "" i.e., empty quote.
2. Before loading the report, type the following line of code in the form code behind:
reportName.DataDefinitions.FormulaFields["Field1"].Text=var;
3. Drag the formula field to the report and run the application.
I hope this will help u.
Thanks & Regards
Panna
|