dbTalk Databases Forums  

Re: Hyperlink in cube

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Re: Hyperlink in cube in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
hfrank
 
Posts: n/a

Default Re: Hyperlink in cube - 07-11-2003 , 02:03 PM







I have upgraded to OWC10 (Office XP) and it now contains
hyperlinks in cubes.

==> I am able to set the field as a hyperlink by using the
==> following code:

dim pview
Set pview = pTable.ActiveView
pView.Fieldsets("Record Id").Fields(0).IsHyperlink = True

==> but cannot set its value with the following code I found. I am
==> using a pivot table not a spreadsheet for the data.

Sub Insert_Hyperlink()
dim pview
Set pview = pTable.ActiveView
Dim NewHyperlink
Set NewHyperlink = pView.Fieldsets("Record Id")
NewHyperlink.Value = pView.Fieldsets("Record Id").Fields(0)
NewHyperlink.Hyperlink.Address="http://myurl.blahblah.com=" &
NewHyperlink.Value
End Sub

Thanks in advance!!

--
Posted via http://dbforums.com

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.