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     [SOLVED] Writing a line of code on multiple lines

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Writing a line of code on multiple lines
 Login/Join
 
Platinum Member
posted
Hi,

Is there a way to write a line of code (a very long one)on multiple lines? I'm asking because I want to limit to a certain number so that I don't have to scroll left and right, but I don't know how to break off on the first line and continue on the second line.

Currently, I am trying it in the subhead section with a very long text to be filled in (a whole paragraph).

Any help would be appreciated.
Thanks.

Best Regards,

Jimmy Pang

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


DEV: WF 7.6.10
TEST: WF 7.6.10
PROD: WF 7.6.10
MRE: WF 7.6.4
OS/Platform: Windows
Dev Studio: WF 7.7
Output: HTML, EXCEL, PDF, GRAPH, LOTUS, CSV
 
Posts: 117 | Location: Toronto, Ontario, Canada | Registered: February 29, 2008Report This Post
Expert
posted Hide Post
Use the <0X tag, "line continuation spot marker", to break a heading into more than one line:

TABLE FILE CAR
SUM
SALES
BY COUNTRY
ON TABLE SUBHEAD
"LOREM IPSUM DOLOR SIT AMET, CONSECTETUR ADIPISCING ELIT. MAECENAS A MASSA <0X
MASSA, SED DIGNISSIM METUS. FUSCE MAGNA MASSA, PELLENTESQUE EGET VULPUTATE <0X
NEC, SCELERISQUE AT LECTUS. MAECENAS VULPUTATE PLACERAT NISL VITAE TEMPUS. <0X
ALIQUAM ULLAMCORPER EROS VEL TURPIS SAGITTIS VEL ELEIFEND LOREM IACULIS. <0X
VIVAMUS CONGUE ACCUMSAN ELEIFEND. SED UT VELIT DIAM. ETIAM AUCTOR FAUCIBUS <0X
ENIM, UT SAGITTIS TURPIS MATTIS CONSECTETUR. PELLENTESQUE IPSUM DOLOR, <0X
PRETIUM VITAE BIBENDUM ID, VOLUTPAT SIT AMET ODIO. DONEC VENENATIS VARIUS <0X
MASSA AC TEMPOR. DUIS A EROS NISI. SUSPENDISSE FACILISIS ELIT VEL NULLA <0X
FACILISIS UT PRETIUM ARCU LAOREET. PRAESENT AT ENIM NULLA, IN TEMPUS NULLA. <0X
UT ULTRICIES LIGULA NEC QUAM LOBORTIS FACILISIS IN QUIS VELIT. NULLA <0X
ELEIFEND ARCU SIT AMET ORCI LOBORTIS NON ALIQUAM ANTE RUTRUM. MAECENAS <0X
INTERDUM FERMENTUM PURUS, ID CONDIMENTUM SEM ELEMENTUM ET. CRAS COMMODO, <0X
ARCU EU VARIUS ALIQUAM, NULLA PURUS MOLESTIE ARCU, VITAE VENENATIS LEO SEM <0X
EU MAGNA."
END


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
Expert
posted Hide Post
Just a thought, can you turn on Word Wrap in your editor ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Platinum Member
posted Hide Post
Sweet! Thanks Francis, works like a charm =)


DEV: WF 7.6.10
TEST: WF 7.6.10
PROD: WF 7.6.10
MRE: WF 7.6.4
OS/Platform: Windows
Dev Studio: WF 7.7
Output: HTML, EXCEL, PDF, GRAPH, LOTUS, CSV
 
Posts: 117 | Location: Toronto, Ontario, Canada | Registered: February 29, 2008Report This Post
Platinum Member
posted Hide Post
quote:
Originally posted by Waz:
Just a thought, can you turn on Word Wrap in your editor ?


That is true, never thought of that, but I like Francis' solution, it gives more control of formatting.

Thanks for you suggestion as well =)

Best Regards,

Jimmy Pang


DEV: WF 7.6.10
TEST: WF 7.6.10
PROD: WF 7.6.10
MRE: WF 7.6.4
OS/Platform: Windows
Dev Studio: WF 7.7
Output: HTML, EXCEL, PDF, GRAPH, LOTUS, CSV
 
Posts: 117 | Location: Toronto, Ontario, Canada | Registered: February 29, 2008Report This Post
Expert
posted Hide Post
I have to admit that I used to use the same technique that Francis suggested, before WF supported long lines.

With a wide screen monitor, you do get a lot more real estate to work with, as well.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Expert
posted Hide Post
Waz,

When your eyes start to go with age, it's time to get glasses not a bigger monitor Wink

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
Master
posted Hide Post
LOL Tony! and when the eyes really start to go the glasses have this little line in them.


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Report This Post
Expert
posted Hide Post
quote:
it's time to get glasses not a bigger monitor

Oh dear, and I thought that the big monitor ment that I was special. Big Grin


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report 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     [SOLVED] Writing a line of code on multiple lines

Copyright © 1996-2020 Information Builders