Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Select Expert - If Post Reply Post New Topic
Author Message
Andrew05
Newbie
Newbie


Joined: 29 Aug 2013
Online Status: Offline
Posts: 1
Quote Andrew05 Replybullet Topic: Select Expert - If
    Posted: 31 Aug 2013 at 8:20am
Hello,

I'm trying to add the if statement below in a reports select expert:

({Stock.PegItem} = -1 Or {StockOut.PegItem} = -1)

If I check the statement for errors everything is ok, but only the first portion of the "or" appears to be being applied. In this case records where Stock.PegItem = -1 are displayed. If I switched them around only records where StockOut.PegItem} = -1 are being shown.

I've checked the SQL statement Crystal is creating and that returns all the records I would expect. Any help would be great.

Thanks,
Andrew
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 03 Sep 2013 at 4:09am
change the option in the the formula expert to use default values for nulls
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.031 seconds.