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] form letter

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] form letter
 Login/Join
 
Member
posted
Good day,

I am looking for some advise on how to create a form letter that contains conditional sentences.

I have searched and saw where people said to put the text in the page header so I have done so. However, I am having issues with formatting it as isentences tend to fall off the page, so I just hit return and continued the sentence on the next line. Is this the proper way to do so, or have I missed something in the options? I have changed margins to .25 and told it to wrap.

For conditional sentences I have this:

IF YAGPA GT 0 THEN "You will also receive a lump sum in the amount of
But I receieve a parsing error when trying to run. Is it possible to put "If" statemnts in the page header? Should I put the text into a DEFINE variable and put the variable in the THEN section?

Thanks in advance for your advise.

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


Webfocus 7.6
as/400
PDF, Excel
 
Posts: 10 | Location: Durant, Oklahoma | Registered: May 07, 2010Report This Post
Guru
posted Hide Post
One way of creating this type of From Letter is by creatin Text lines that will then print.
EG>

TEXT_1/A80=IF YAGPA GT 0 THEN 'You will also receive a lump sum in the amount of ' ELSE 'whatever';

Then in your Table File
PRINT LINE_1 etc.


WF 7.6.11
Oracle
WebSphere
Windows NT-5.2 x86 32bit
 
Posts: 398 | Registered: February 04, 2008Report This Post
Virtuoso
posted Hide Post
In a page heading you can only use text or fields.
So, indeed, create a defined field that holds your conditional text, and use that defined field in the heading of your request.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Member
posted Hide Post
Thanks for the info! That is exactly what I needed to know.


Webfocus 7.6
as/400
PDF, Excel
 
Posts: 10 | Location: Durant, Oklahoma | Registered: May 07, 2010Report 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] form letter

Copyright © 1996-2020 Information Builders