Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
|
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 11th, 2003, 01:22 AM
Registered User
 
Join Date: Jun 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default crystal report hyperlink

Hi everyone!

I would like to know if it is possible to use a hyperlink or another
method in crystal reports to call code in an windows application.

We have an crystal report viewer on a form. There are several events
that can be thrown by the viewer like
'CrystalReportViewer1_DrillDownSubreport'. But there is no event for
catching a hyperlink click. What we want to do is that the user can
click on some item in the report and some code is processed, like
closing the report on show another control. So what would be the way
to get a callback to the code?

We need it for an report that shows several lines. The user should be
able to press a detail link and then some code in the application
should be processed.
So is there an way to do this...hyperlinks always try to open a
browser and there is now way to catch the click event, or?

Hope for some answers

Greetings
Mike
 
Old June 23rd, 2003, 08:08 AM
Authorized User
 
Join Date: May 2003
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Mike
I am not getting why are you making it hyperlink as there is no need. Because on the click event of the control you should get the text of the control and process some code based on the criteria.
I think it will help you

Best Regards
Deepesh Jain

Deepesh Jain
VB,VBA & .NET Specialist
Wiley Support Team
 
Old June 25th, 2003, 06:25 AM
Registered User
 
Join Date: Jun 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

I not sure if I understand what you mean. I don't want to catch an event when someone clicks somewhere in the report. I want to catch an event when someone clicks a specific spot, e.g. 'show details' and then get an event. I also need to pass along parameters like used in an URL, e.g. http://p2p.wrox.com/post.aspmethod=R...&REPLY_ID=1798

Can I do this with your methode. Perhaps you can explain it a little bit. I understood that I only can catch a general click event and get the control name. The report control?

Greetings Mike

Quote:
quote:Originally posted by Deepesh_Jain
 Hi Mike
I am not getting why are you making it hyperlink as there is no need. Because on the click event of the control you should get the text of the control and process some code based on the criteria.
I think it will help you

Best Regards
Deepesh Jain

Deepesh Jain
VB,VBA & .NET Specialist
Wiley Support Team
 
Old December 17th, 2004, 03:33 PM
aim aim is offline
Registered User
 
Join Date: Dec 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to aim
Default

Did anyone had any luck with this?






Similar Threads
Thread Thread Starter Forum Replies Last Post
simple report and crystal report in vb.net saket123 .NET Framework 2.0 0 August 13th, 2008 06:55 AM
Open Crystal Report from hyperlink aspBegineer83 Crystal Reports 0 November 24th, 2007 02:15 PM
VS 2002 Crystal Report opens Seagate crystal 8 tusis_1 Crystal Reports 0 May 12th, 2007 11:45 AM
How to add hyperlink in crystal report when openin Diamond_in_the_sky Crystal Reports 0 March 24th, 2004 01:25 PM
Error While printing report (Crystal report) vikaspaweb Pro VB 6 0 March 8th, 2004 09:53 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.