Tips and Tricks
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Tips and Tricks
Message Icon Topic: Hyperlink filed Navigate to Multiple Pages Post Reply Post New Topic
Author Message
gyswamy
Newbie
Newbie
Avatar

Joined: 03 Mar 2011
Location: India
Online Status: Offline
Posts: 13
Quote gyswamy Replybullet Topic: Hyperlink filed Navigate to Multiple Pages
    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

Edited by gyswamy - 22 Mar 2011 at 10:04pm
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet 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



Edited by hilfy - 24 Mar 2011 at 11:17am
IP IP Logged
gyswamy
Newbie
Newbie
Avatar

Joined: 03 Mar 2011
Location: India
Online Status: Offline
Posts: 13
Quote gyswamy Replybullet 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?

IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet 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
IP IP Logged
gyswamy
Newbie
Newbie
Avatar

Joined: 03 Mar 2011
Location: India
Online Status: Offline
Posts: 13
Quote gyswamy Replybullet 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..


Edited by gyswamy - 28 Mar 2011 at 3:55pm
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet 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
IP IP Logged
gyswamy
Newbie
Newbie
Avatar

Joined: 03 Mar 2011
Location: India
Online Status: Offline
Posts: 13
Quote gyswamy Replybullet 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
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.018 seconds.