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]Double Space?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]Double Space?
 Login/Join
 
Platinum Member
posted
Does anyonw Know how I can Add a space inbetween every line?

ALSO, How do you add space in the code?

EX.

HEADING
"_______" TEST "_______" TEST " " TEST

ALL three Spaces inbetween the TEST's are the same size! but the last one will shrink when i post this and same in webfocus...

How do I add spaces in the code?

/t?
/n?

This message has been edited. Last edited by: Charles Richards,


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 111 | Registered: May 12, 2011Report This Post
Master
posted Hide Post
quote:
Originally posted by Charles Richards:
ALSO, How do you add space in the code?

EX.

HEADING
"_______" TEST "_______" TEST " " TEST

ALL three Spaces inbetween the TEST's are the same size! but the last one will shrink when i post this and same in webfocus...

How do I add spaces in the code?

/t?
/n?


You just think, they're the same size. Assuming you have not set an output style and are using HTML, that is a quirk with the way HTML renders (multiple spaces are truncated/displayed to one). You have to specify spaces to print as  

Right-click to view source and check it out.

- ABT


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro
 
Posts: 561 | Registered: February 03, 2010Report This Post
Platinum Member
posted Hide Post
quote:
view source and check it out

quote:
 



Thanks for the reply!

Could you expand upon how to use "& nbsp ;"
? give an example?


When i put "& nbsp ;" in the code it thinks its a parameter and as for nbsp...

This message has been edited. Last edited by: Charles Richards,


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 111 | Registered: May 12, 2011Report This Post
Expert
posted Hide Post
Charles, please elaborate on your "Double Space" requirement. Does "how I can Add a space inbetween every line" mean you want a blank line after each report line? Also, for which format - PDF or HTML? This all matters because there are different ways to accomplish what you need.

To have a blank line after each report line, add a SUBFOOT to the last BY statement, something like this:

DEFINE FILE CAR
DUMMY1/A1 = '';
END
TABLE FILE CAR
SUM SALES
BY COUNTRY
BY CAR
BY MODEL SUBFOOT
" "

ON TABLE SET PAGE NOLEAD
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT, SQUEEZE=ON,
FONT='ARIAL', SIZE=8,
BORDER=1, BORDER-COLOR=SILVER,
$
ENDSTYLE
END


By the way, this really has nothing to do with  . If you need to embed a "Non-Breaking Space" in an HTML file, use
 
If the HTML is contained in a fex, use
&|nbsp;
to avoid the Dialogue Manager behaviour - the concatenate character prevents DM from assuming it's an amper variable.


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
Platinum Member
posted Hide Post
When I refer to Double Space, yes, I am talking about a blank line inbetween every line.

I am trying to make this work in HTML

Yes the &|nbsp; works well!

Thank you so much for your help and understanding! I have one final question.


Is there anyway to squeeze the lines together so there is no space or blank line inbetween lines?


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 111 | Registered: May 12, 2011Report This Post
Expert
posted Hide Post
What version of 7.6 are you on ?

Here is one option: Controlling vertical line spacing in PDF and HTML formats

In the later versions, 7.6.9 I think, there is an option to set the line spacing.
Support for Markup Tags and Line Spacing Attributes in Text Boxes


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
get the non breaking space & nbsp; into the html code the escape character that is &|nbsp;"

if you are doing HTML You can also define a A4 field and mention it in the HEADING

BR/A4 = '< br > ';

You must definitely follow Waz's links Lots of good stuff.

This message has been edited. Last edited by: Jim Morrow,


Jim Morrow
Web Focus 7.6.10 under Windows 2003
MVS 7.3.3



 
Posts: 129 | Registered: June 01, 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     [SOLVED]Double Space?

Copyright © 1996-2020 Information Builders