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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
result of division
 Login/Join
 
Silver Member
posted
I have this problem:
P8.2L = Field1 / field2;
At time I have as result ‘*************’
Is possible to check if the result is ‘****’?
In the output I must :
If result = ‘********’ then 99999999
Else the risult of division
thanks for any help and excuse-me for my english
 
Posts: 31 | Location: roma | Registered: August 18, 2005Report This Post
Virtuoso
posted Hide Post
Roby

What do you think will cause the '****'

How about trying to enlarge the formula field to lets say RESULT/P15.2L and see what happens...




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Silver Member
posted Hide Post
If I define Result/p15.2, I have the correct result.
The cause of '*****' is that the field RESULT is more little then result of division.

In my pgm I do:
result1/p15.2 = Field1 / field2
result /p8.2 = if result1 gt 99999,99 then 99999,99 else result1 ;

Is possible to ckeck with a few function if the result is '****'?
I must to inform when the result of operazion is out of range (is the filed is out of range I must to write the field of output 99999,99).

excuse-me for my english
 
Posts: 31 | Location: roma | Registered: August 18, 2005Report This Post
Virtuoso
posted Hide Post
Roby

The *s' are an output format only, so you cannot test for them.

but you have the code basics correct for testing.

result/P8.2 = 99999999,99;
newResult/P8.2 = IF result GT 99999,99 THEN 99999,99 ELSE result ;


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Silver Member
posted Hide Post
Thank you very much !!!

Smiler
 
Posts: 31 | Location: roma | Registered: August 18, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders