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] HTMLFORMTYPE 2 sheet

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] HTMLFORMTYPE 2 sheet
 Login/Join
 
Gold member
posted
Hi,

Is it possible to generate 2 sheet on same Xls File whith HTMLFORMTYPE=XLS ?

I use HTMLFORMTYPE=XLS because i have css with custom format, if i try without HTMTABLE and with OPEN/CLOSE css format don't work

My exemple :

  
 
SET PAGE=NOLEAD
SET GRID=OFF
-RUN
 
 
-* Les Colonnes en cellules A
DEFINE FILE SYSTABLE
GRAS_L2/A80 = 'libellé bla bla ';
GRAS_L3/A80 = 'Transparence ';
END
TABLE FILE SYSTABLE
SUM
TYPE NOPRINT
-*ON TABLE SUBHEAD
HEADING
"Quelles sont les exigences bla bla"
"<GRAS_L2 – bla bla bla."
"<GRAS_L3 – bla bla bla bla bla."
ON TABLE SET HTMLCSS ON
ON TABLE HOLD AS ENTETE001 FORMAT HTMTABLE
ON TABLE SET STYLE *
TYPE=HEADING, LINE=1, CLASS=Entete,$
TYPE=HEADING, LINE=2, CLASS=bordure,$
TYPE=HEADING, LINE=2, OBJECT=FIELD, STYLE = BOLD,$
TYPE=HEADING, LINE=3, OBJECT=FIELD, STYLE = BOLD,$
TYPE=HEADING, LINE=3, CLASS=bordure,$
ENDSTYLE
END
-*
-*
-*
-* Les Colonnes en cellules B
DEFINE FILE SYSTABLE
GRAS_L2/A80 = 'Limitation blablabla ';
GRAS_L3/A80 = 'Transparence ';
LF/A4  = '<BR>' ;
LIGNE3/A1000 = 'Dans le cadre bla bla bla : ' | LF
| '- choix1 ;' | LF
| '- choix2' | LF
| '- Choix3.';
END
TABLE FILE SYSTABLE
SUM
TYPE NOPRINT
-*ON TABLE SUBHEAD
HEADING
"Gestion des données blabla
"Dans le cadre bla bla."
"<LIGNE3"
ON TABLE SET HTMLCSS ON
ON TABLE HOLD AS ENTETE002 FORMAT HTMTABLE
ON TABLE SET STYLE *
TYPE=HEADING, LINE=1, CLASS=Entete,$
TYPE=HEADING, LINE=2, CLASS=bordure,$
TYPE=HEADING, LINE=4, OBJECT=FIELD, STYLE = BOLD, $
TYPE=REPORT, LINEBREAK = LF,$
ENDSTYLE
END
 
 
SET HTMLFORMTYPE=XLS
 
-HTMLFORM BEGIN
<html>
<style type="text/css">
.bordure {
        border-width:1px;
        border-style:solid;
        border-color:#999999;
		border-collapse:collapse;
        border-spacing:0px;
		border-width:1px;
        border-style:solid;
        border-color:#000000;
		}
 
.Entete {
        border-width:1px;
        border-style:solid;
        border-color:#999999;
        background-color:#bcb5b5;
		border-collapse:collapse;
        border-spacing:0px;
		border-width:1px;
        border-style:solid;
        border-color:#000000;
		Font-Weight: Bold;
		text-align: center;
		}
TABLE {
width:850px;
}
th{
width:50%;
}
</style>
<TABLE>
<TR>
<th>!IBI.FIL.ENTETE001;</th>
<th>!IBI.FIL.ENTETE002;</th>
</TR>
</TABLE>
</html>
-HTMLFORM END
 
 

This message has been edited. Last edited by: FP Mod Chuck,


Webfocus 8.201M.
Windows
InfoAssist +
Chrome, IE, Excel, HTML; PDF, AHTML,GRAPH
 
Posts: 92 | Location: France | Registered: July 08, 2009Report This Post
Gold member
posted Hide Post
Hello
nobody has an idea ? :-( Sweating


Webfocus 8.201M.
Windows
InfoAssist +
Chrome, IE, Excel, HTML; PDF, AHTML,GRAPH
 
Posts: 92 | Location: France | Registered: July 08, 2009Report This Post
Virtuoso
posted Hide Post
Jacquetl

Using table of contents will generate multiple sheets in a single xls spreadsheet.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Expert
posted Hide Post
JACQUETL,

Can't you use the standard WebFOCUS "ON TABLE SET STYLE *" ... "ENDSTYLE" and then "ON TABLE PCHOLD AS ENTETES FORMAT XLSX"?
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Gold member
posted Hide Post
Hi

@doug : I did not find any other way to make an excel formatting inside the same fields of a same cell


Webfocus 8.201M.
Windows
InfoAssist +
Chrome, IE, Excel, HTML; PDF, AHTML,GRAPH
 
Posts: 92 | Location: France | Registered: July 08, 2009Report 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] HTMLFORMTYPE 2 sheet

Copyright © 1996-2020 Information Builders