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     Building a table in a DEFINE

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Building a table in a DEFINE
 Login/Join
 
Gold member
posted
could someone please post the proper way to to define the following line:
<table border="2" cellpadding="2" cellspacing="2">

When I try to do a define that equals this, I'm not getting it to recognize the cellpadding/border, etc.

DEFINE FILE CAR
TBL_OP/A71 = ??? Please help with this line...
TD_OP/A4 = '<td>';
TD_CL/A5 = '</td>';
TBL_EN/A7 = '</table>';
END

Thanks,
Stan
 
Posts: 90 | Registered: April 15, 2004Report This Post
Expert
posted Hide Post
First, you need <tr> tags in a <table>.

Second, be aware that each cell in an HTML report is in its own <td> tag and that the report row is in its own <tr> tag. So when you define fields with HMTL tags and print them, they themselves will be within <tr> and <td> tags which may result in messy <table> code.

This works, but does result in messy HTML code:

DEFINE FILE CAR
TBL_OP/A71 = '<table border="2" cellpadding="2" cellspacing="2">';
TR_OP/A4 = '<tr>';
TD_OP/A4 = '<td>';
TD_CL/A5 = '</td>';
TR_CL/A5 = '</tr>';
TBL_EN/A8 = '</table>';
END
TABLE FILE CAR
PRINT
TBL_OP
TR_OP
TD_OP
COUNTRY
TD_CL
TR_CL
TBL_EN
END
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report 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     Building a table in a DEFINE

Copyright © 1996-2020 Information Builders