Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




40 posts

Geek


Topic # 113645 23-Jan-2013 09:19 Send private message

Hi Team,

Bit of a curly one, that I have gone round and round on, and have come up blank on the net, so thought I would give this a go, before I concede, and bring in the big guns :)

Have a reporting service report that displays a value in the required text box

 

=First(Fields!Connote.Value)

 

Also configured on this text box currently is a hyperlink, which contains a join of data.

="http://www.nzcouriers.co.nz/nzc/servlet/TAndTServlet?page=1&customer_number=#######&consignment_id=" & Fields!Connote.Value &"&request_id=3"

“Customer_number########” in the hyperlink, is actually a number field, but removed for user security J

The issue I have is that now the client this report is run for uses multiple carriers to ship their product L and to make the report more generic for all of our clients, I need multiple possible Carriers, with different hyperlinks, or to exclude hyperlinking to all but one carrier.

The query returns carrier data, and this is displayed in the report =Fields!Carrier.Value

 

What I am trying to achieve is either

 

1. Text box contains hyperlink as above where carrier is NZC for example, and if Carrier is not NZC then don’t hyperlink

 

Or 2. Text Box contains hyperlink as above, if carrier is NZC, but has a different hyperlink, (also using Connote value in the hyperlink), if the carrier is PBT for example, and ultimately would like multiple different carrier vs hyperlink possibilities, as our clients use multiple carriers, all with different hyperlinks of course, and all requiring Connote Value in the hyperlink.

E.g. NZC, PBT, DHL, Fliway, FedEx etc.

 

Any help would be greatly appreciated on how to set up the expression to achieve this, or if there is an alternative to configuring it this way, would appreciate suggestions.

 

Create new topic


40 posts

Geek


  Reply # 749393 23-Jan-2013 10:59 Send private message

Hi Team ICT :)

I have now accomplished outcome 1. which was to exculde the hyperlink if the most popular carrier was not used.

Did it like this

=IIF(Fields!Carrier.value ="NZC", "http://www.nzcouriers.co.nz/nzc/servlet/TAndTServlet?page=1&customer_number=######&consignment_id=" & Fields!Connote.Value &"&request_id=3",Nothing)

So at least now our clients are not seeing shoddy work, and the report looks tidy, but ideally would still like to provide excellent work, and have it hyperlink depending on different carriers, as per outcome 2 above :)

Any ideas anyone?


Create new topic



Twitter »
Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when new jobs are posted to our jobs board:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:




News »

Trending now »
Hot discussions in our forums right now:

Xbox One
Created by DjShadow, last reply by Hobchild on 22-May-2013 11:11 (29 replies)
Pages... 2


A new project coming to Geekzone
Created by freitasm, last reply by xpd on 21-May-2013 21:19 (239 replies)
Pages... 14 15 16


Changeover issue: dial up
Created by Zigg, last reply by robjg63 on 21-May-2013 22:02 (17 replies)
Pages... 2


HTC One (2013) owners' discussion
Created by Dingbatt, last reply by Stevereds on 22-May-2013 08:21 (1513 replies)
Pages... 99 100 101


Vodafone Naked Broadband Speeds (Auckland CBD)
Created by wscalioni, last reply by grkiwi on 20-May-2013 21:13 (14 replies)

Samsung Galaxy SIII Discussion and Owners Thread
Created by networkn, last reply by jeffnz on 22-May-2013 11:02 (5531 replies)
Pages... 367 368 369


A reason not to shop at dick smith
Created by dsnz1, last reply by eXDee on 20-May-2013 20:41 (86 replies)
Pages... 4 5 6


Porting landline number away from Telecom
Created by dasimpsonsrule, last reply by coffeebaron on 20-May-2013 19:41 (12 replies)


Geekzone Jobs »
Most recent NZ jobs in technology:

Drupal Web Developer
Posted 22-May-2013 10:27

Senior GIS Analyst
Posted 22-May-2013 09:27

Senior C#.Net Developer
Posted 22-May-2013 09:27

.Net Developer
Posted 22-May-2013 09:27

Senior/Intermediate Web Developer
Posted 22-May-2013 09:27

Network Engineer
Posted 22-May-2013 09:27

Web Content Administrator
Posted 22-May-2013 09:27


Geekzone Live »
Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.