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     aligning the OVER field

Read-Only Read-Only Topic
Go
Search
Notify
Tools
aligning the OVER field
 Login/Join
 
Gold member
posted
Hi,

I have used the OVER command to display fields vertically instead of horizontally.For all the fields displayed i have applied a style sheet.The style sheet does not work for the field that is used in the BY clause.

e.g

TABLE FILE SQLOUT
PRINT
A OVER
B
BY B NOPRINT PAGE_BREAK

ON TABLE HOLD AS REPORT FORMAT HTMTABLE
ON TABLE SET STYLE *
TYPE=TITLE, COLUMN=A, CLASS=Title_Col1, $
TYPE=TITLE, COLUMN=B, CLASS=Title_Col1,$

TYPE=DATA, COLUMN=A, CLASS=Data_Col1, $
TYPE=DATA, COLUMN=B, CLASS=Data_Col1, $
END
-HTMLFORM BEGIN
<style type="text/css">

 .Title_Col1 { width:60%;font-family:Tahoma; font-size:8pt; font-weight:bold; color:#000000;
              background-color:#ffffff; text-align:center;}
 .Data_Col1 {width:40%; font-family:Courier; font-size:10pt; color:#000000;
             background-color:#ffffff; text-align:left; border-style: NONE;}

</style>
<BODY>
<div align="center">
!IBI.FIL.REPORT;
</div>
</BODY>
</HTML>
-HTMLFORM END


So for B the alignment does not work.

Regards,
Aditya
 
Posts: 84 | Registered: June 05, 2006Report This Post
Expert
posted Hide Post
Aditya,

You have two occurences of the Column B (even though one is NOPRINT) so you will need to differentiate between the two in your stylesheet by using the COLUMN=Nn notation (where "n" is the column number). A good document for stylesheet syntax is the WebFOCUS Quick Reference "Card" which is actually a booklet!!

Search for the document on the Tech Support site. You should be able to download it in PDF. I have printed one and keep it with me for those "dark" moments when the mind goes blank Smiler

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Gold member
posted Hide Post
Thanks Tony,

Its working now.

Regards,
Aditya
 
Posts: 84 | Registered: June 05, 2006Report This Post
Expert
posted Hide Post
That's good to hear.

T
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Expert
posted Hide Post
You asked the same question in "alignment problems" and probably in "OVER TABLE alignment problem".


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
Gold member
posted Hide Post
Hi francis,

Actually i had a problem with the "alignment problems" post,as i was not able to see any replies on that particular page.It was may be because of the 'code' '/code' exclusion.So i thought of posting it again.

Regards,
Aditya
 
Posts: 84 | Registered: June 05, 2006Report This Post
Expert
posted Hide Post
When you post code, particularly when it contains HTML, add a [ code ] [ /code ] tag around the code, and check "Disable HTML" from the Options hyperlink on the left of the Posting window.

Cheers,


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     aligning the OVER field

Copyright © 1996-2020 Information Builders