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] Create a text column

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Create a text column
 Login/Join
 
Member
posted
Hello

I am new to webfocus and I am not a developer, I am using only infoassist and the report assistant. I have a column (with P6 format), I want to use that column to create a new column with text.
For example
Column A Objective Column
Peter USA
John USA
Kevin USA
Juan Spain
Pedro Spain
Jorge Spain
Jean France
Michel France
Francois France

I have tried to create a define with an if then else condition (IF COLUMN A EQ 'Pedro' OR 'Jorge' OR 'Juan' THEN OBJECTIVE COLUMN EQ 'Spain'

I´ve tried this in the report assistant but I haven´t had any luck. Maybe it is because of the formats or how I am creating the define. Hope somebody here can help me.

Regards

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


Webfocus 7.7.03
 
Posts: 12 | Registered: March 08, 2012Report This Post
Guru
posted Hide Post
You are havinh these problems because your field is P6 which is a numeric field.


WF 7.6.11
Oracle
WebSphere
Windows NT-5.2 x86 32bit
 
Posts: 398 | Registered: February 04, 2008Report This Post
Member
posted Hide Post
Thank you so much!!!!!!!!


Webfocus 7.7.03
 
Posts: 12 | Registered: March 08, 2012Report This Post
Expert
posted Hide Post
quote:
IF COLUMN A EQ 'Pedro' OR 'Jorge' OR 'Juan' THEN OBJECTIVE COLUMN EQ 'Spain'


Not to sure about your define either.


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
Member
posted Hide Post
Hello.

I am not very familiar with the syntax so I hope this is understandable....here´s what I did...
DEALEREDITED/A8 = EDIT ( DEALER );
SALESSCALE/A8=IF DEALEREDITED EQ '000790' OR '000793' OR '000794' OR '000941' THEN 'SE' ELSE
IF DEALEREDITED EQ '000462' OR '000725' OR '000746' OR '000320' OR '000719' THEN 'QD4'

IT WORKED JUST FINE.....REGARDS....DAVID


Webfocus 7.7.03
 
Posts: 12 | Registered: March 08, 2012Report This Post
Virtuoso
posted Hide Post
I would add an ELSE at the end:
ELSE ' ';
for example


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
  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] Create a text column

Copyright © 1996-2020 Information Builders