In Visual Studio 2008 for C#, I have a report that has a Form1.cs. That
form has a button to open another form called "frmSub Reports.cs" that
has a CrystalReportViewer embedded called "crySub Report.rpt"
private void btnCheckRegister_Click(object sender, EventArgs e) { frmSub_Report frmSub_Report = new frmSub_Report(); frmSub_Report.Show(); }
I'm
using a ODBC database on a AS400. For all my other Forms with Crystal
Reports, it asked for a Database Login. I'm able to Login successfully
to all other forms except the Crystal Report with SubReports in them.
I know I need to somehow do a loop to logon to every SubReport before the report is pulled but I don't know how.Can you please help?
Edited by J.J. - 01 Nov 2013 at 8:06am