Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Help me! Display Field Post Reply Post New Topic
<< Prev  Page  of 2
Author Message
OKsoccer24
Newbie
Newbie


Joined: 05 Jun 2008
Online Status: Offline
Posts: 35
Quote OKsoccer24 Replybullet Posted: 14 Sep 2009 at 6:17am
StringVar combinedPC = '';
if PreviousIsNull({Command.PROJ_ID}) or (not IsNull(({Command.PROJ_ID})  and combinedPC = '') then
  combinedPC := {Command.PROPERTY_CODE}
else
  combinedPC := combinedPC + ' & ' + {Command.PROPERTY_CODE};
combinedPC

For the part (not IsNull(({Command.PROJ_ID}) it says a boolean is required.
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 14 Sep 2009 at 6:29am
Try this:
 
(not (IsNull(({Command.PROJ_ID})) and combinedPC = '')
IP IP Logged
<< Prev  Page  of 2
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