Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Null fields Post Reply Post New Topic
Author Message
bturner
Newbie
Newbie
Avatar

Joined: 17 Jun 2010
Location: United States
Online Status: Offline
Posts: 28
Quote bturner Replybullet Topic: Null fields
    Posted: 07 May 2018 at 8:12am
Trying to create a formula that will not incorporate null fields.
IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet Posted: 08 May 2018 at 7:21am
?!? You want to filter out all fields that are Null?
IP IP Logged
bturner
Newbie
Newbie
Avatar

Joined: 17 Jun 2010
Location: United States
Online Status: Offline
Posts: 28
Quote bturner Replybullet Posted: 08 May 2018 at 7:30am
Yes.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 08 May 2018 at 8:01am
NOT(isnull({table.field}))
IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet Posted: 09 May 2018 at 6:41am
And of course, make sure the 'Default Values for Nulls' is selected in the formula editor.  Also another note.  If you are checking a string value for nulls, it is generally more reliable to check for zero length (i.e., len({table.field}) = 0)
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.047 seconds.