Print Page | Close Window

Hyperlink filed Navigate to Multiple Pages

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005-2015
Forum Name: Tips and Tricks
Forum Discription: Have you learned some great tricks to share with the group? Post them here!
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=12679
Printed Date: 16 Jul 2020 at 6:35am


Topic: Hyperlink filed Navigate to Multiple Pages
Posted By: gyswamy
Subject: Hyperlink filed Navigate to Multiple Pages
Date Posted: 22 Mar 2011 at 10:03pm
Hi All,

We can make a filed in Crystal Report as Hyper-link.Using this Hyper-link i can navigate to another .aspx page and another site also.But what my question is Using this same Hyper-link i have to navigate different .aspx pages.

Thanks in Advance.

Swamy



Replies:
Posted By: hilfy
Date Posted: 24 Mar 2011 at 11:17am

Which version of Crystal are you using?  Is the different page determined by something in the data?

-Dell



-------------
Proviti, Data & Analytics Practice
http://www.protiviti.com/US-en/data-management-advanced-analytics - www.protiviti.com/US-en/data-management-advanced-analytics


Posted By: gyswamy
Date Posted: 25 Mar 2011 at 6:31pm
Hi,

I am practicing in Visual Studio 2008.I am not using separate software for crystal Report.Is it possible or Not in VS 2008?



Posted By: hilfy
Date Posted: 28 Mar 2011 at 3:40am
I'm not sure whether it's possible in VS 2008 - it uses version 10 of Crystal and I think dynamic hyperlinks became available in XI.  Try this:  right-click on the field that you want to be a hyperlink and select "Format...", then select the Hyperlink tab, if it exists.  If it does exist, you should be able to format your hyperlink from there.
 
-Dell


-------------
Proviti, Data & Analytics Practice
http://www.protiviti.com/US-en/data-management-advanced-analytics - www.protiviti.com/US-en/data-management-advanced-analytics


Posted By: gyswamy
Date Posted: 28 Mar 2011 at 3:54pm
Hi,

I select the field which i want to make Hyper-link click on format object.Here I found Hyper-link tab.It has six options.
       
           1.No Hyper-Link
           2.An E-mail Address
           3.A Website on Internet
           4.A File
           5.Current Website Filed Value
           6.Current E-mail Field Value

I have chosen Third Option and give the address like http://localhost:54545/myexample/default.aspx. It's Fine.
In Hyper-Link field i am getting 'zero' or 'one'.If i get zero i have to navigate to default.aspx otherwise i have to navigate to default2.aspx. But by selecting third option i can navigate only one page even field value is either 'zero' or 'one'..

Thanks In advance..


Posted By: hilfy
Date Posted: 29 Mar 2011 at 3:24am
Is there a formula button to the right of where you enter the URL?  If not, then you're going to have to do some "fudging" to get this to work.
 
To do this, create two objects - one for each of the pages you want to link to.  Suppress each based on the value of the field - if the value is 0, suppress the one for default2.aspx, if it's 1, suppress the one for default.aspx.  Make them the same size and put one on top of the other on your report - only one will show at any given time when the report is run.
 
-Dell


-------------
Proviti, Data & Analytics Practice
http://www.protiviti.com/US-en/data-management-advanced-analytics - www.protiviti.com/US-en/data-management-advanced-analytics


Posted By: gyswamy
Date Posted: 29 Mar 2011 at 3:27pm
Hi,

I found formula button right of the URL.I wrote formula and got it..It's working fine..

Thank you Dell for giving Response and helping to me...

Keep Smiling...


Swamy



Print Page | Close Window