Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Please help Post Reply Post New Topic
Author Message
vpriyanka2001
Groupie
Groupie


Joined: 28 May 2009
Online Status: Offline
Posts: 59
Quote vpriyanka2001 Replybullet Topic: Please help
     Posted: 05 Oct 2009 at 9:01am
Getting error in formula, a constant expression is required here.
Please Help.


IIF ({UpLoad_Report_EOM;1.bornum} = 13797 or {UpLoad_Report_EOM;1.bornum} = 56700 or
    {UpLoad_Report_EOM;1.bornum} = 52635 or {UpLoad_Report_EOM;1.bornum} =52674 or
    {UpLoad_Report_EOM;1.bornum} = 57831 or {UpLoad_Report_EOM;1.bornum} = 54056 or
    {UpLoad_Report_EOM;1.bornum} = 52761 or {UpLoad_Report_EOM;1.bornum} = 44852 or
    {UpLoad_Report_EOM;1.bornum} = 21013 or {UpLoad_Report_EOM;1.bornum} = 21183 or
    {UpLoad_Report_EOM;1.bornum} = 52569 or {UpLoad_Report_EOM;1.bornum} = 52361 or
    {UpLoad_Report_EOM;1.bornum} = 20841 or {UpLoad_Report_EOM;1.bornum} = 13893 or  
    {UpLoad_Report_EOM;1.bornum} = 57684 or {UpLoad_Report_EOM;1.bornum} = 24208,
"YES","NO" )
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 05 Oct 2009 at 2:48pm
looks OK.  Does this work any better?
IIF ({UpLoad_Report_EOM;1.bornum} IN [13797,56700,52635,52674,57831,54056,52761,44852,21013,21183,52569,52361,20841,13893,57684,24208],
"YES","NO" )
 
it's an equivalent statement.
IP IP Logged
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