Hi,
ReportDocument report = new ReportDocument();
//report.Load(Server.MapPath("reports/TrialBalancedup.rpt"));
report.Load(Server.MapPath("reports/TrialBalance.rpt"));
lblReportPath.Text = Server.MapPath("reports/TrialBalance.rpt");
report.SetDataSource(dtTrialBalance);
report.SetDatabaseLogon("sa", "AndrewFun260474", "113.197.36.40", "GAAP_Mass_Data_Entry");
//report.DataDefinition.FormulaFields["Dates"].Text = "'" + date1.ToString("dd/MM/yyyy") + "'";
// CryRptVwIncomeStatement.ParameterFieldInfo = Dates;
CryRptVwIncomeStatement.ReportSource = report;
CryRptVwIncomeStatement.DataBind();
formula for date filed is cdate({column.date})
One think i am showing the date filed in header and if i run the report without the date filed every thing works fine so no error in .cs file, just error in date formula only,
Can you say me whether i can use the column data in header field
Sathish Kumar S
Sathya4260, if this helps please login to Mark As Answer. | Alert Moderator