Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: formula help Post Reply Post New Topic
Author Message
nitrotech
Groupie
Groupie


Joined: 30 Jan 2013
Location: United States
Online Status: Offline
Posts: 42
Quote nitrotech Replybullet Topic: formula help
    Posted: 22 Jan 2014 at 10:09am
I have this formula

(if OnFirstRecord then
   {@HR File Header Layout} + chr(13) + chr(10)
else
   '') +

{@DR Record Layout} +
( If {@LN Amount} <> 0 then
        chr(13) + chr(10) + {@LN Record Layout}
    else
        '';) +
(if OnLastRecord then
   chr(13) + chr(10) + {@FF Record Layout}
else
   '');


and I get this error A String is required here

Right after <>0

What I'm I missing

thanks
IP IP Logged
kostya1122
Senior Member
Senior Member
Avatar

Joined: 13 Jun 2011
Online Status: Offline
Posts: 475
Quote kostya1122 Replybullet Posted: 22 Jan 2014 at 11:13am
try <>"0" instead
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.016 seconds.