Focal Point
[SOLVED] define box - how to say "is blank" or "null"

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5377023726

December 21, 2012, 03:02 PM
reportmasterlvl3
[SOLVED] define box - how to say "is blank" or "null"
Probably a really basic question, but in my define box if I want to say -

IF C_PHONENUMBER_LOOKUP EQ NULL
THEN 'No Phone Number Listed'
ELSE 'Primary Phone Number'

Is the proper syntax:
EQ NULL
EQ MISSING
IS MISSING
EQ BLANK
IS BLANK
something else?

Or does it only allow me to use the buttons below showing:
|
||
IF
THEN
LT
NE
NOT

etc.

Thanks

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


wFDS: 7.7.03, OS: Windows, Output: Mostly Excel
December 21, 2012, 03:25 PM
Jump_faster
I think better way to handle the phone number is :-
 DEFINE FILE abc
NULL/A20 = IF C_PHONENUMBER_LOOKUP  LT 1 THEN 'No Phone Number Listed' ELSE C_PHONENUMBER 



WebFOCUS 7.7. Windows Server 2008. All Outputs.

WEBFOCUS 7.6.11. Windows Server 2003. All Outputs.
December 22, 2012, 04:17 PM
Dan Satchell
It depends how C_PHONENUMBER_LOOKUP is defined. If it is defined as a relational field that is nullable, or a FOCUS field with missing on, then use:

IS MISSING

Otherwise, use:

EQ ''



WebFOCUS 7.7.05
December 26, 2012, 11:12 AM
reportmasterlvl3
quote:
LT 1


This worked, thanks!


wFDS: 7.7.03, OS: Windows, Output: Mostly Excel