Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Go
New
Search
Notify
Tools
Reply
  
+ or - signed
 Login/Join
 
Member
posted
I am trying to populate a field with + or - based on columnA entry. Is there any sample if statement or case statement code to take a look at.


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 20 | Registered: September 20, 2011Reply With QuoteReport This Post
Expert
posted Hide Post
The simplest test would be:
SignField/A1 = IF columnA {test condition} THEN '+' ELSE '-' ;  


But this is very basic coding, and yuou haven't let us know what you are testing for.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.05OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6072 | Location: Land of the Darug people, Terra Australis Incognita | Registered: October 31, 2006Reply With QuoteReport This Post
  Powered by Social Strata  
 


Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.