Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a formula with a blank field 1

Status
Not open for further replies.

helphelen

Technical User
Feb 25, 2010
8
0
0
CA
Hello - I would like to create an 'if' formula with a blank field. Meaning, if({employee})= "blank" then = "No" else...
How do I properly convey this idea.

Thanks!
 
if ?XXX? is null, now "null",, is a special term,, no spaces, no zeros,, ie "nothing"..

 
as jmd said, null is a special term that doesnt mean blank, it means lacking data.
the below formula will check if the field is null or if the field is populated by just spaces, and treat them both the same.


//{@nullcheck}
IF (isnull({yourtable.yourfield}) or trim({yourtable.yourfield})="" then 0
else 1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top