cancel
Showing results for 
Search instead for 
Did you mean: 

Evaluate After

Former Member
0 Kudos

Hi all

I have a suppression formula working on a >0.00 value

but i want to put a text field in and suppress it

The problem is the text apears in a group before the fomula.

is there any way to wait till the suppression formula has triggerd

Main suppress formula

{@wordsniff}

whileprintingrecords;
numbervar rec;
//if field equals needed string, memorize recordnumber
if {tvw_CustomFields.CustomFieldCategoryName} = "..New System Requirments:" and
{tvw_CustomFields.CustomFieldLabel} = "print info" and
{tvw_CustomFields.CustomFieldValue} = "True" then
 rec:= recordnumber;
rec;

Text suppression formula before {@wordsniff}

{@showtext}

if {@wordsniff} >0.00 then ToText ("This is a test") else
ToText ("")

is ther any way this can work

Cheers

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Alex,

Can you try this :

whileprintingrecords;

numbervar rec;

//if field equals needed string, memorize recordnumber

if {tvw_CustomFields.CustomFieldCategoryName} = "..New System Requirments:" and

{tvw_CustomFields.CustomFieldLabel} = "print info" and

{tvw_CustomFields.CustomFieldValue} = "True" then

rec:= recordnumber;

rec;

if rec >0.00 then ToText ("This is a test") else

ToText ("")

In section expert write a suppress condition like

Whileprintingrecoards;

numbervar rec;

if rec>0.00 then true

Hope this will help you.

Thanks,

Sastry

Answers (0)