Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9129

Re: How to refer to a certain Group Field

$
0
0

Hi Matt,

 

You'd need five variables - one for each Group Name.

 

Place this formula on the Details section:

 

If OnFirstRecord then

(

     shared booleanvar grp1 := false;

     shared booleanvar grp2 := false;

     shared booleanvar grp3 := false;

     shared booleanvar grp4 := false;

     shared booleanvar grp5 := false;

);

 

     If GroupName({Group_Field}) = 'First Value in the specified order' AND {Tracking_info} = 'Track Value to be searched' then

     shared booleanvar grp1 := TRUE

     else If GroupName({Group_Field}) = 'Second Value in the specified order' AND {Tracking_info} = 'Track Value to be searched' then

     shared booleanvar grp2 := TRUE

     else If GroupName({Group_Field}) = 'Third Value in the specified order' AND {Tracking_info} = 'Track Value to be searched' then

     shared booleanvar grp3 := TRUE

     else If GroupName({Group_Field}) = 'Fourth Value in the specified order' AND {Tracking_info} = 'Track Value to be searched' then

     shared booleanvar grp4 := TRUE

     else If GroupName({Group_Field}) = 'Fifth Value in the specified order' AND {Tracking_info} = 'Track Value to be searched' then

     shared booleanvar grp5 := TRUE;

 

 

Assuming you have five text boxes (each with names of the five groups), you need to add a conditional suppression formula that refers to the shared variables.

 

For e.g. Text box 1 that has the name of the first group, would use this formula:

 

shared booleanvar grp1;

 

Text box 2 would use:

 

shared booleanvar grp2;

 

and so on..

 

-Abhilash


Viewing all articles
Browse latest Browse all 9129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>