Home
Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
C# Community
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Home
Forums
Components & Controls
Reporting / Printing
Report Design and integration
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="AchimW" data-source="post: 27593" data-attributes="member: 2401"><p><strong>To implement functional drill down report follow these steps</strong></p><p></p><p>It was like pulling teeth, because I could not find these basic instructions anywhere. I hope this will help in case one experiences the same problem.</p><p></p><p>To implement a functional drill down report on the web follow these steps.</p><p></p><p style="margin-left: 20px">1) create the appropriate functioning report and </p> <p style="margin-left: 20px">the {<em><span style="color: green">function to populate and return report</span></em>}</p> <p style="margin-left: 20px"></p> <p style="margin-left: 20px">2) place a CrystalReportViewer object on the webform </p> <p style="margin-left: 20px">(example: <span style="color: blue">CrystalReportViewer1</span>)</p> <p style="margin-left: 20px"></p> <p style="margin-left: 20px">3) Import at least these namespaces</p> <p style="margin-left: 20px"><span style="color: blue"><em>Imports CrystalDecisions.CrystalReports.Engine</em></span></p> <p style="margin-left: 20px"><span style="color: blue"><em>Imports CrystalDecisions.ReportSource</em></span></p> <p style="margin-left: 20px"><span style="color: blue"><em>Imports CrystalDecisions.Web</em></span></p> <p style="margin-left: 20px"><span style="color: blue"><em>Imports CrystalDecisions.Shared</em></span></p> <p style="margin-left: 20px"><span style="color: blue"></span></p> <p style="margin-left: 20px"><span style="color: blue"></span>4) Declare a class variable (to hold the report) like:</p> <p style="margin-left: 20px"><span style="color: blue">Dim report As CrystalReport1</span></p> <p style="margin-left: 20px"><span style="color: blue"></span></p> <p style="margin-left: 20px"><span style="color: blue"></span>5)call the code to populate the report from the <span style="color: red">Page_Init</span> event handler, like</p> <p style="margin-left: 20px"><span style="color: blue">report =</span> {<em><span style="color: green">function to populate and return report</span></em>}</p> <p style="margin-left: 20px"></p> <p style="margin-left: 20px">6) bind the report to the viewer control in the <span style="color: red">Page_Load</span> event handler, like</p> <p style="margin-left: 20px"><span style="color: blue">CrystalReportViewer1.ReportSource = report</span></p> <p style="margin-left: 20px"></p> <p style="margin-left: 20px"></p><p><span style="color: blue"></span></p><p><span style="color: blue"></span>That's it. This will help you to get off the ground. Take it from there.</p></blockquote><p></p>
[QUOTE="AchimW, post: 27593, member: 2401"] [b]To implement functional drill down report follow these steps[/b] It was like pulling teeth, because I could not find these basic instructions anywhere. I hope this will help in case one experiences the same problem. To implement a functional drill down report on the web follow these steps. [INDENT]1) create the appropriate functioning report and the {[I][COLOR=green]function to populate and return report[/COLOR][/I]} 2) place a CrystalReportViewer object on the webform (example: [COLOR=blue]CrystalReportViewer1[/COLOR]) 3) Import at least these namespaces [COLOR=blue][I]Imports CrystalDecisions.CrystalReports.Engine[/I] [I]Imports CrystalDecisions.ReportSource[/I] [I]Imports CrystalDecisions.Web[/I] [I]Imports CrystalDecisions.Shared[/I][/COLOR] [COLOR=blue] [/COLOR]4) Declare a class variable (to hold the report) like: [COLOR=blue]Dim report As CrystalReport1[/COLOR] [COLOR=blue] [/COLOR]5)call the code to populate the report from the [COLOR=red]Page_Init[/COLOR] event handler, like [COLOR=blue]report =[/COLOR] {[I][COLOR=green]function to populate and return report[/COLOR][/I]} 6) bind the report to the viewer control in the [COLOR=red]Page_Load[/COLOR] event handler, like [COLOR=blue]CrystalReportViewer1.ReportSource = report[/COLOR] [/INDENT][COLOR=blue] [/COLOR]That's it. This will help you to get off the ground. Take it from there. [/QUOTE]
Insert quotes…
Verification
Post reply
Home
Forums
Components & Controls
Reporting / Printing
Report Design and integration
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top
Bottom