on 05-03-2016 1:14 PM
I am working in C# windows application in VS2010. I have three columns in my report - ProductName, Quantity, PurchaseDate. Now I want an extra column which on click will show the chart for that particular product. I'm new to crystal report so don't how how to create a button/linkbutton/imagebutton in report. Please advise how can I pass the productname value to show the chart.
Thanks.
You can not add a button in a report. Best you might be able to do is hide / show sections of a report.
You could also create a formula as a place holder, then populate the formula with a database field at runtime, thus making it appear as if a column was added.
- Ludek
Senior Support Engineer Product Support, Global Support Center Canada
Follow me on Twitter
Got Enhancement ideas? Use the SAP Idea Place
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Maybe activating drill down reporting on the viewer and either using an on-demand subreport linked to the Product ID of the row or displaying the main data in a group footer and using the drill down functions to expand the details lines and have the chart in the detail section would work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can add more fields by using RAS, see the Overview Tab, on the left, for samples link on adding columns to the report. You will need to add a button on your form to be able to add field to your report, CR Viewer does not have the ability.
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.