Sunday, March 11, 2012

CR interactivity in question..

I have a web application. When the user presses a button a crystal report comes on screen.

What i need to know is, if there is a possibility to implement this:

"When the user clicks on a certain field on a certain row, i want to run function A in my web application, with parameters the row clicked and the field clicked".

i just wanna add on-click code in field level (or perhaps add in my report a button to do sth), can i do that??

ThanksYou can use parameters to pass the information from your app to Crystal. I don't know that proper syntax though.

Try searching Crystal's website:
http://support.businessobjects.com/search/advsearch.asp

Or Crystal's Forum:
http://support.businessobjects.com/forums/default.asp|||What are you trying to do?
1. Do you want to select a report based on data in selected row?
2. Or do you want to see more data related to the row you selected?

If your option is 1, then use a DataGrid and populate it with records, and then when user clicks on selected row, trap the click event and pass the value of that row to a Crystal Report as the parameter for that report.
For some help with parameters and how to use them in .NET, try this link:
http://support.businessobjects.com/library/kbase/articles/c2010247.asp

If it's 2, design the report so that it has an "On-Demand" subreport, so that user can click the link which will appear in your Details section, which will trigger the subreport based on the data in that report line.

It's helpful if your question details the implementation, "I have a web application." really doesn't tell us enough, so I've presumed it's .NET, because .NET incorporates basic Crystal functionality.

Dave|||I need to put a control, say a button inside the report. When the user presses the button i want something else, irrelevant of the report to happen (e.g. navigate to a certain page).

1) How can i add a button in my report?
2) How do i trap the on-click event?

Thanks

No comments:

Post a Comment