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] Unwanted extra spaces after amper variable

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Unwanted extra spaces after amper variable
 Login/Join
 
Member
posted
I have an amper variable in my report header that is followed by a / character then another amper variable and should display as 01/2008 however it displays as 01 / 2008 in HTML output.

Has anyone run into this before and if so is this a kerning issue or is there a way aroung it?

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


WebFOCUS 7.6.2
Windows XP
HTML, Excel
 
Posts: 10 | Registered: February 13, 2009Report This Post
Silver Member
posted Hide Post
You can use -SET &NEWVAR = TRUNCATE(&VAR) to remove any trailing spaces from &VAR.


-Yogesh Patel
------------------------------------------------------------------------
PROD: WF 764 on Linux Apache tomcat v5.5
DEV: WF 768 on Linux
 
Posts: 42 | Location: Edison, New Jersey | Registered: January 30, 2007Report This Post
Expert
posted Hide Post
so your heading looks like this, i imagine
HEADING
"&MONTH / &YEAR "
is that it?
so try this
HEADING
"&MONTH/&YEAR"
..
if that doesn't do it, then your inbound &vars have blanks in them;
-SET &MYHEADING = &MONTH || '/' || &MYYEAR ;
you'll note that double concat doesn't always help with &vars, so look up the STRIP function to remove blanks (or any other char); The HELP button in DevStu is the quickest way to get the defintion of a function like STRIP.
-s.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Virtuoso
posted Hide Post
Mike,

The easiest: use the vertical bar | after your first &variable:
-* File MikeD1.fex
-SET &MO='03';
-SET &YR='2009';
TABLE FILE CAR
HEADING
"&MO|/&YR"
BY COUNTRY
END


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Member
posted Hide Post
Thanks everybody. I am now getting the desired results. From now no more shift + drag and drop in report painter!


WebFOCUS 7.6.2
Windows XP
HTML, Excel
 
Posts: 10 | Registered: February 13, 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     [SOLVED] Unwanted extra spaces after amper variable

Copyright © 1996-2020 Information Builders