Skip to Content
0

Question about the ReplaceConnection_click event

Aug 09, 2017 at 07:12 PM

36

avatar image
Former Member

In the ReplaceConnection_Click event there is a reference to a variable named

rptClientDoc. The code does not compile because it is not referenced anywhere. How is this variable initialized?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Don Williams
Aug 09, 2017 at 10:40 PM
0

It's referenced in a few places but globally in the form load event:

public class frmMain : System.Windows.Forms.Form
{
CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument rptClientDoc;

Don

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Don, Thanks Ben

0