Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] HOW TO EMBED HTML TAGS

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] HOW TO EMBED HTML TAGS
 Login/Join
 
Member
posted
I'm new to WebFocus and to this forum so please bare with me. What is the correct way to embed html tags into WebFocus procedures i.e. headers or footers. I tried doing something like the following code but I keep getting this error -> "(FOC406) THE FIELDNAME IS NOT RECOGNIZED: A"

This is an example of what I'm trying...

-SET &LINK =
'<a href="somepage.html">Link</a>';


TABLEF FILE AWTAP_WF_EDP_STATUS
PRINT
'COL1'
'COL2'
'COL3'
HEADING
"Workforce EDP Status Report"
" &LINK "
FOOTING

This message has been edited. Last edited by: Kerry,
 
Posts: 12 | Registered: March 31, 2010Report This Post
Expert
posted Hide Post
WG,

Don't know what you are trying to do, probably a link to a HTM program on the server, but, a SEARCH on href may help:

  
DEFINE FILE CAR
   LINK/A100 = '<a href="http://www.google.com">Google</a>';
END
TABLE FILE CAR
PRINT
   RETAIL_COST DEALER_COST
BY COUNTRY
BY CAR
HEADING
"Workforce EDP Status Report"
"<LINK"
" "
END
-EXIT


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Member
posted Hide Post
Can I use a variable to store the html or does it have to be stored as a "DEFINE Field"?
 
Posts: 12 | Registered: March 31, 2010Report This Post
Virtuoso
posted Hide Post
quote:
Can I use a variable to store the html or does it have to be stored as a "DEFINE Field"?


May be impossible to do with a variable because of the special meaning of both the left caret and ampersand in WebFOCUS. Besides the DEFINE solution, you can also use the StyleSheet.

TABLE FILE CAR
 PRINT RETAIL_COST DEALER_COST
 BY COUNTRY
 BY CAR
 HEADING
  "Workforce EDP Status Report"
  "Google"
  " "
 ON TABLE SET STYLE *
  TYPE=HEADING, LINE=2, URL='http://www.google.com', $
 ENDSTYLE
END


WebFOCUS 7.7.05
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] HOW TO EMBED HTML TAGS

Copyright © 1996-2020 Information Builders