G
Guest
Hi
Must you always use a Literal path for the CR?
// Example
DataSet theReportDataset = DataCalls.GetReportDate(parameter);
Report1 = new ReportDocument();
string reportPath = Application.StartupPath + "\\" + "Reports.rpt";
Report1.Load("Reports.rpt");
Report1.SetDataSource(theReportDataset);
crystalReportViewer1.ReportSource = Reports;
crystalReportViewer1.Visible = true;
\\
Is there not a way to reference the report thats within your project without
a path call?
//
Dim crReportDocuments As New ConfirmPrintAll
DealstoPrint = WS_DataService.getDealPrintList(parameter)
crReportDocuments.SetDataSource(DealstoPrint)
CrystalReportViewer1.ReportSource = crReportDocuments
CrystalReportViewer1.Visible = True
Thanks
Brian
Must you always use a Literal path for the CR?
// Example
DataSet theReportDataset = DataCalls.GetReportDate(parameter);
Report1 = new ReportDocument();
string reportPath = Application.StartupPath + "\\" + "Reports.rpt";
Report1.Load("Reports.rpt");
Report1.SetDataSource(theReportDataset);
crystalReportViewer1.ReportSource = Reports;
crystalReportViewer1.Visible = true;
\\
Is there not a way to reference the report thats within your project without
a path call?
//
Dim crReportDocuments As New ConfirmPrintAll
DealstoPrint = WS_DataService.getDealPrintList(parameter)
crReportDocuments.SetDataSource(DealstoPrint)
CrystalReportViewer1.ReportSource = crReportDocuments
CrystalReportViewer1.Visible = True
Thanks
Brian