IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Need to open a new window
Go
New
Search
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
B_B
Silver Member
Posted
Hi,
I need to add a footer in EXCEL format saying -
Please click HERE
When the user clicks on 'HERE', a new window link should open to www.yahoo.com.
My code is like -
Footer
"Please click <+0>HERE <+0>"
TYPE=FOOTING,
LINE=1,
OBJECT=TEXT,
ITEM=2,
COLOR='BLUE',
STYLE=UNDERLINE,
TARGET='_BLANK',
URL=http://www.yahoo.com,
$


In excel the spot marker is not working and the whole line get underlined.Please suggest.
 
Posts: 47 | Registered: September 04, 2007Reply With QuoteEdit or Delete MessageReport This Post
JG
Master
Posted Hide Post
I suspect that the footing is a single merged cell.

try using HEADALIGN=BODY, and COLSPAN in the styling
 
Posts: 951 | Registered: February 24, 2005Reply With QuoteEdit or Delete MessageReport This Post
B_B
Silver Member
Posted Hide Post
This does not work...any other way?

How would SET BASEURL work?
 
Posts: 47 | Registered: September 04, 2007Reply With QuoteEdit or Delete MessageReport This Post
Master
Posted Hide Post
You do need to split the two parts of the footing into two, one for the normal text and one for the link-text. This is an excel requirement, because excel can only put hyperlinks on entire cells, not on parts of the contents of one cell.
So JG's solution is correct.
The last part of the procedure would look something like this:
FOOTING
"Please click <+0>HERE"
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET STYLE *
     UNITS=IN,
     SQUEEZE=ON,
     ORIENTATION=PORTRAIT,
     HEADALIGN=BODY,
$
TYPE=FOOTING,
     LINE=1,
     OBJECT=TEXT,
     ITEM=2,
     COLOR='BLUE',
     STYLE=UNDERLINE,
     TARGET='_BLANK',
     JUSTIFY=LEFT,
     URL=http://www.yahoo.com,
$
ENDSTYLE

Hope this helps ...


GamP

- Using 764 on WinXP (sp2) - IE7.
- Also available are versions from 534 up to 766 on Windows (XP/2000/2003EE)
 
Posts: 521 | Location: Netherlands | Registered: September 25, 2007Reply With QuoteEdit or Delete MessageReport This Post
JG
Master
Posted Hide Post
B_B

Could you post a fuller example of the code
What you have shown is totally sytactically incomplete and incorrect.

what is needed as a minimum is on ON TABLE and everything in the style sheet section
 
Posts: 951 | Registered: February 24, 2005Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Need to open a new window

Copyright © 1996-2008 Information Builders, leaders in enterprise business intelligence.