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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Null v. Empty in CR Formula 1

Status
Not open for further replies.

cwsstins

MIS
Aug 10, 2004
412
US
Hi,

I'm working with CR 8.5 and I'm using a formula to display data from a string field only if it's empty or null.

This is what I've got:

({ASGNMNT.DATEACKNOW} = '' or {ASGNMNT.DATEACKNOW} = "" or
isnull({ASGNMNT.DATEACKNOW})

Seems like it should work, but I'm getting less records (in fact, zero records) than I get in the application. Is there another way to extract empty field values other than what I've got listed here?

Thanks,
stinsman
 
This may be the problem:

if the record is null, it will only get as far as evaluating: {ASGNMNT.DATEACKNOW} = '', which it will evaluate to null, and then it will stop. Try:

Code:
(isnull({ASGNMNT.DATEACKNOW} or {ASGNMNT.DATEACKNOW} = '' or {ASGNMNT.DATEACKNOW} = "")

does that give you the results you would expect?
 
Katy44, you rock. That did the trick!

Thanks,
stinsman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top