Save a web report after the manual build event.
Anil Pandey
Mumbai, India
Hello:
I am trying to save a report wherein i am populating the data in the manual build event.
the code is:
protected void WebReport_StartReport(object sender, EventArgs e)
{
fr.Report FReport = CreateReport(); // creates a report dynamically
LoadTable(FReport, ReportId, FromTemp); // calls the manual build event after setting report properties
WebReport.Report = FReport;
FReport.Prepare();
if (!string.IsNullOrEmpty(SaveReportAs))
{
FReport.SavePrepared(@C:\AnilP\ + SaveReportAs + ".frx");
}
}
The problem here is my report gets saved before the report data is populated in the manual build event. [img]style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> Is there any other event where i can save the report?[/img]
I am trying to save a report wherein i am populating the data in the manual build event.
the code is:
protected void WebReport_StartReport(object sender, EventArgs e)
{
fr.Report FReport = CreateReport(); // creates a report dynamically
LoadTable(FReport, ReportId, FromTemp); // calls the manual build event after setting report properties
WebReport.Report = FReport;
FReport.Prepare();
if (!string.IsNullOrEmpty(SaveReportAs))
{
FReport.SavePrepared(@C:\AnilP\ + SaveReportAs + ".frx");
}
}
The problem here is my report gets saved before the report data is populated in the manual build event. [img]style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> Is there any other event where i can save the report?[/img]