Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Conditional Printing

Former Member
0 Likes
429

Hi all,

How can print a value by using a condition.

For example, A,B,C,D, and E are the fields of a table.

Now E value should not get printed if the values of A,B,C,D are all 0's(initial values).

The place where E is going get displayed should disappear.

3 REPLIES 3
Read only

vinod_gunaware2
Active Contributor
0 Likes
406

if table[1]-fild is initial and ....

else.

write table[index]-field.

endif.

regards

vinod

Read only

0 Likes
406

If it is the case of smartforms, what I have to do.

Sorry , I have not mentioned it previouly.

Read only

0 Likes
406

Hi,

You can write PROGRAM lines to check a flag and set that flag upon checking the values of the A B C and D.

Now you can use this flag variables in the conditions tab of the E Text element.

Or in fact, you can put directly multiple conditions in the E Text element. There you can specify if NOT A is emty etc.

Regards,

Ravi

NOte :Please mark the helpful answers