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     Combining fields to create default passwords

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Combining fields to create default passwords
 Login/Join
 
Member
posted
Hi everyone,

I am trying to build default passwords using my information in InfoAssist. FOr example, I am hoping to use someone's last name and birthday to get "Jones12121985".

Does anyone know how I could combine fields like that in InfoAssist?


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 3 | Registered: April 08, 2013Report This Post
Member
posted Hide Post
Hi Ian - try this: LastName||Birthday

You can also use | which is a weak concatenation. It keeps trailing blanks.


InfoAssist 7.7.3
Windows, All Outputs
 
Posts: 9 | Registered: August 30, 2011Report This Post
Member
posted Hide Post
Thanks for the quick reply! Its very helpful. Sadly, it did not work. I tried putting it in using the Compute function. Do I need to use this in a different function?


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 3 | Registered: April 08, 2013Report This Post
Master
posted Hide Post
@Ian

I think the problem is that LastName is a string and Birthday is something else... Could be a integer or even a real date format.

You need to convert that to a String before you can concatenate it to LastName.

Look up format conversion functions like EDIT FPRINT or CVTDATE.

G'luck
Dave


_____________________
WF: 8.0.0.9 > going 8.2.0.5
 
Posts: 668 | Location: Veghel, The Netherlands | Registered: February 16, 2010Report This Post
Member
posted Hide Post
Did you try using it in a DEFINE function? Compute is usually only used for aggregations.

T


InfoAssist 7.7.3
Windows, All Outputs
 
Posts: 9 | Registered: August 30, 2011Report This Post
Member
posted Hide Post
Not to make matters more complicated, but are you aware of how I could take the last four digits of a value (i.e. social security number) and use it in that same format?

Sorry. The joy of password defaults is that I have to make them complicated.


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 3 | Registered: April 08, 2013Report This Post
Master
posted Hide Post
Ian,

please check the help for functions.

You could use mod 10000 which will give you ( mathematically ) the last 4 digits.

you could also use EDIT etc.


_____________________
WF: 8.0.0.9 > going 8.2.0.5
 
Posts: 668 | Location: Veghel, The Netherlands | Registered: February 16, 2010Report This Post
Member
posted Hide Post
quote:
Not to make matters more complicated, but are you aware of how I could take the last four digits of a value (i.e. social security number) and use it in that same format?

Like Dave said, the EDIT function looks to be the answer to your problems. Check out the two links below, they discuss using EDIT for format conversion as well as for adding/extracting characters in a string.
Converting
Extract/Add


WebFOCUS 8.1.0.5
Windows 10, all output
 
Posts: 16 | Location: CT | Registered: April 12, 2013Report 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     Combining fields to create default passwords

Copyright © 1996-2020 Information Builders