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     Plus/Minus (+/-) and Excel

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Plus/Minus (+/-) and Excel
 Login/Join
 
Member
posted
I am having trouble with an output of a report only in excel format. The problem is with part numbers with the characters "+/-" within the part number field. Outputs in HTML and PDF show correctly, but in MS EXCEL 2000, the "+/-" are not there. Example:
part number IH-10-100UH+/-10PCT is listed as IH-10-100UH10PCT.

WF 7.1.6
Anyone have any experience with this or have any sugguestions?


Mitch
prod/test WF 7.6.9 WIN
 
Posts: 15 | Location: Orlando, FL, USA | Registered: December 03, 2003Report This Post
Expert
posted Hide Post
quote:
IH-10-100UH+/-10PCT


I can confirm this happens in 5.3.2 as well.

By experimenting with a few variations of the value, I've found that the following work:

IH-10-100UH+ /-10PCT
IH-10-100UH+/ -10PCT
IH-10-100UH+|-10PCT


So it looks like the slash character in conjunction with a + or a - (no blanks in between) causes the problem. If it's acceptable to change the / for some other character, then I would suggest using the CTRAN or STRREP functions to modify the value.


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
This works in Windows, use the plus/minus sign:

IH-10-100UH±10PCT


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
Just out of curiousity, is this a WebFOCUS issue creating a bad XLS file or is this a problem with Excel not being able to display the values with +/- in them? When you select a cell in Excel which should have this symbol in the value, does it show in the value in the formula bar?


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Expert
posted Hide Post
It doesn't show when it's a value in a WebFOCUS report row. If you paste the value into a cell, it shows.


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
Member
posted Hide Post
Mickey,
The Excel report looks fine, it is just the cell that should contain the "+/-" in the part number, it is just not there. Example: IH-10-100UH+/-10PCT is listed as IH-10-100UH10PCT; no extra space or anything unusual is seen in the formula bar. Also, I could not find any info on the MS support page for this problem in Excel.


Mitch
prod/test WF 7.6.9 WIN
 
Posts: 15 | Location: Orlando, FL, USA | Registered: December 03, 2003Report This Post
Virtuoso
posted Hide Post
I tried it 7.6 and it worked.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Master
posted Hide Post
I was surprised that that this did not work in 5.3.2 even when double quotes where placed around the part number or when quotes where placed around the slash. But +\- does work. If your users will accept a backslash on Excel then I would define the following;


PART_NO/A25=IF &OUTPUT EQ 'EXL2K' THEN
CTRAN(25, PART_NUM, 47, 92, 'A25') ELSE PART_NUM;

Your other options seem to be to put a space before or after the slash or not allow Excel as an output. By the way EXL97 removes the '+/-' as well.


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
Member
posted Hide Post
Thanks all for your sugguestions. I was able to use the STRREP and then a CTRAN to replace +/- with ±. When I tried to STRREP with just '±' Excel tranlated to 'ñ' for some reason. So I STRREP +/- to ~ then CTRAN ~ to ± (using ASCII 177).


Mitch
prod/test WF 7.6.9 WIN
 
Posts: 15 | Location: Orlando, FL, USA | Registered: December 03, 2003Report 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     Plus/Minus (+/-) and Excel

Copyright © 1996-2020 Information Builders