Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: string value...... please help me .... Post Reply Post New Topic
Author Message
neha_patel
Groupie
Groupie
Avatar

Joined: 06 Oct 2010
Location: United States
Online Status: Offline
Posts: 44
Quote neha_patel Replybullet Topic: string value...... please help me ....
     Posted: 13 Oct 2010 at 4:50am
how can i store one groups string value and display that in other group???
 
please please help me .....
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 13 Oct 2010 at 8:15am
global or shared variable will allow you to save a value, just declare it in both formulas...like:
 
shared numbervar aVar;
 
it is now available for assignment or comparison (assignment is done via :=  NOT = ) ....  like:
aVar := 0; //sets the variable to 0
aVar = 0; //compares if the variable is 0
 
HTH
IP IP Logged
neha_patel
Groupie
Groupie
Avatar

Joined: 06 Oct 2010
Location: United States
Online Status: Offline
Posts: 44
Quote neha_patel Replybullet Posted: 13 Oct 2010 at 8:37am
hey thanks for reply but i want to store string and you are telling me to use number that will work???
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 14 Oct 2010 at 3:23am
it was an example...sorry.
 
use stringvar instead
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