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] Field display

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Field display
 Login/Join
 
Master
posted
Hi

I am having problem with displaying (alignment) fields for 2 reports. I have 2 table requests in same fex. They are in this format

  
Present
F1     F3    F4
..     ..    ..
F1     F2    F3    F4
..     ..    ..    ..

Target
F1           F3    F4
..           ..    ..
F1     F2    F3    F4
..     ..    ..    ..




As of now I have fields as shown in present set. But I am trying to achieve like target set. I used WRAP, SQUEEZE, used a dummy field but couldn't get it correct. Can some one help me? I could get it right in a normal report but I need to fit these in a small frame which is typically in size of blackberry screen..:-p

Thanks
Appreciate your suggestions.

This message has been edited. Last edited by: Kerry,


8.1.05
HTML,PDF,EXL2K, Active, All
 
Posts: 484 | Registered: February 03, 2009Report This Post
Expert
posted Hide Post
This is an HTML report? Try using ON TABLE HTMLCSS ON.

How about using the CAR file to provide us an example fex?


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
is this HTML output
or PDF

can you post a example code based on the CAR database




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Virtuoso
posted Hide Post
Francis...

what do they same about great minds?




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Expert
posted Hide Post
The Netherlands is three minutes behind Canada!


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Master
posted Hide Post
this is html report. I am using HTMLCSS ON


8.1.05
HTML,PDF,EXL2K, Active, All
 
Posts: 484 | Registered: February 03, 2009Report This Post
Master
posted Hide Post
  

TABLE FILE CAR
PRINT
	CAR
	MPG
	SEATS
WHERE RECORDLIMIT EQ 3;
END

TABLE FILE CAR
PRINT
	CAR
	COUNTRY
	MPG
	SEATS
WHERE RECORDLIMIT EQ 3;
END



I am trying to get MPG and SEATS align with each other which means on TOP of COUNTRY should be blank in 1st report request.

Thanks


8.1.05
HTML,PDF,EXL2K, Active, All
 
Posts: 484 | Registered: February 03, 2009Report This Post
Expert
posted Hide Post
For HTML reports, I like controlling things with CSS. Here's an example:

-* File fmfpenigma1.fex

SET PAGE=NOLEAD
-RUN

TABLE FILE CAR
PRINT
CAR
COMPUTE DUMMY/A12 = ''; AS ''
MPG
SEATS
WHERE RECORDLIMIT EQ 3;
ON TABLE HOLD AS H001 FORMAT HTMTABLE
ON TABLE SET STYLE *
TYPE=TITLE, CLASS=ColumnTitle, $
TYPE=REPORT, COLUMN=CAR    , CLASS=RepColCar    , $
TYPE=REPORT, COLUMN=DUMMY  , CLASS=RepColCountry, $
TYPE=REPORT, COLUMN=MPG    , CLASS=RepColMPG    , $
TYPE=REPORT, COLUMN=SEATS  , CLASS=RepColSeats  , $
ENDSTYLE
END
-RUN

TABLE FILE CAR
PRINT
CAR
COUNTRY
MPG
SEATS
WHERE RECORDLIMIT EQ 3;
ON TABLE HOLD AS H002 FORMAT HTMTABLE
ON TABLE SET STYLE *
TYPE=TITLE, CLASS=ColumnTitle, $
TYPE=REPORT, COLUMN=CAR    , CLASS=RepColCar    , $
TYPE=REPORT, COLUMN=COUNTRY, CLASS=RepColCountry, $
TYPE=REPORT, COLUMN=MPG    , CLASS=RepColMPG    , $
TYPE=REPORT, COLUMN=SEATS  , CLASS=RepColSeats  , $
ENDSTYLE
END
-RUN

-HTMLFORM BEGIN
<html>

<head>
<style type="text/css">
/* Reset global properties */
*
{
margin: 0; padding: 0; outline: 0;
}

html, body, div, p, table, td, form, img, h1, h2, h3, h4, h5, h6, input, select, textarea, fieldset, label
{
font-family: "Arial", sans-serif; font-size: 12px;
}

body
{
margin: 4px;
background-color: white;
color: black;
}

table
{
border-collapse: collapse;
}

td
{
/*font-family: Arial, sans-serif; font-size: 8pt;*/
vertical-align: top; padding-left: 2px; padding-right: 2px;
}

.ColumnTitle   { font-weight: bold; color: navy; }
.RepColCar     { width: 80px; }
.RepColCountry { width: 80px; }
.RepColMPG     { width: 40px; }
.RepColSeats   { width: 50px; }
</style>
</head>

<body>
!IBI.FIL.H001;
!IBI.FIL.H002;
</body>
</html>
-HTMLFORM END

You get responses with examples of easier techniques...


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
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     [CLOSED] Field display

Copyright © 1996-2020 Information Builders