cancel
Showing results for 
Search instead for 
Did you mean: 

CrystalReportViewer click event - how to get current field value

Former Member
0 Kudos

I want to get the value of the field object that I Click by Mouse in CrystalReportViewer (Visual Studio 2005), so that I can Open Another report based on this Value. But I could not find any method at all. There was an easy solution in VB6 with Crystal Reports 10, The Report Viewer's Click Event did provide EventInfo object which had GetFields method and we could get the value of the current field.

What is solution in VS 2005?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Thank you Ludek,

Could you tell which version of CR is embedded in VS 2008? Is it CR 12 or not?

Can I upgrade my VS 2005 to CR 12?

I am very confused about all this versions of VS.NET and CR.

former_member184995
Active Contributor
0 Kudos

The version that is embedded with VS.NET 2008 is built off of Crystal 10.

You can purchase Crystal Reports 2008 and install it on your VS.NET 2005 machine and it will allow you to use the CR 2008 (CR 12) runtimes.

Answers (4)

Answers (4)

Former Member
0 Kudos

I found this:

Resolution

ClickPage and DoubleClickPage events have been added to the Crystal Reports Winform Viewer"s events. These events also have added an ObjectInfo class that allows you to retrieve properties of the object on the viewer that was clicked. These events are only available in Crystal Reports XI Release 2, after the installation of Business Objects XI Release 2 Service Pack 1 (SP1) and BusinessObjects XI Release 2 Monthly Hot Fix 1 (MHF1).

I have VS 2005 Crystal Report Version=10.2.3600.0.

How to upgrade VS 2005 to Business Objects XI Release 2 Service Pack 1 (SP1) and BusinessObjects XI Release 2 Monthly Hot Fix 1 (MHF1).

Is it possible?

former_member183750
Active Contributor
0 Kudos

It's possible, but now you want to go to CR 2008 (12.x) - CR XI r2 will be out of support in June of this year. Contact sales; 866-681-3435

Ludek

Former Member
0 Kudos

Thank you Ludek,

could you tell me where can I find this example :

sample app csharp_win_viewer_events.zip / vbnet_win_viewer_events.zip.

I am new here, and I don't know how to resolve my problem .... It seems that nobody knows

Former Member
0 Kudos

Well, I have desktop application, so hyperlink is not good option for me.

When user click on CrystalReportViewer I want to open another CrystalReportViewer with new report.

I need CrystalReportViewer click event ... Is it posible?

In VB6 it is posible, why I can't do it in VS 2005?

Also, in VB6 I have unbound fields and method SetUnboundFieldDataSource, but in VS 2005 there is no way to handle unbound fields?

Can anybody help me with this?

former_member183750
Active Contributor
0 Kudos

Well, one thing you want to do is read the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]

Step 2 Asking Your Question; Provide Enough Information

Also, have a look at the blog [What do I need to do to get the fastest issue resolution?|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/12045] [original link is broken] [original link is broken] [original link is broken];

Finally, have look at [this|; thread - I believe it has the solution you are looking for...

As per the Rules of Engagement... one question per thread. So create a new thread re. SetUnboundFieldDataSource.

Ludek

former_member183750
Active Contributor
0 Kudos

More of a report design question I think. Use hyperlinks. Search the CR Designer Help file for "hyperlinks".

Also, see kbase #1352591 [here|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true].

Ludek

Follow us on Twitter http://twitter.com/SAPCRNetSup