Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: How to set default value for global variable? Post Reply Post New Topic
Author Message
GowthamSen
Groupie
Groupie


Joined: 03 Jun 2009
Location: India
Online Status: Offline
Posts: 65
Quote GowthamSen Replybullet Topic: How to set default value for global variable?
     Posted: 22 Sep 2009 at 2:19pm
Hi,
 
I would like to set default value for a global variable.
 
By default, its showing as null.
 
Is there any way we can set?
 
Thank you
Regards,

Gowtham Sen.
IP IP Logged
Jyothi Yepuri
Senior Member
Senior Member


Joined: 11 May 2009
Location: Australia
Online Status: Offline
Posts: 127
Quote Jyothi Yepuri Replybullet Posted: 22 Sep 2009 at 8:02pm
Global numbervar varname:= valuehere;
Place it in Report header

is this met your requirement?

Jyothi

IP IP Logged
GowthamSen
Groupie
Groupie


Joined: 03 Jun 2009
Location: India
Online Status: Offline
Posts: 65
Quote GowthamSen Replybullet Posted: 23 Sep 2009 at 7:19am
Thanks Jyothi.
 
The global variable is not being evaluated for a database record as there are null values in data. I updated null values as 0.
 
Now the variables are working good.
 
Thanks  a lot.Clap
 
Thank you
Regards,

Gowtham Sen.
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