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.

New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.

What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.

During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.


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: 2128 | 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