Application Development 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: 

condition for line for table row in smartforms

Former Member
0 Kudos

i have given two conditions in the line of the table, i want the text fields should display only both conditin will satisfy. but it is taking as or , i want as and.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

If <Condition1> and <Condition2>.

Print Text.

Endif.

Regards,

Joan

9 REPLIES 9

Former Member
0 Kudos

give nested conditions..

if 1st condition is satisfied.

if 2nd condition is satisfied.

print the text.

endif.

endif.

Former Member
0 Kudos

Hi....

u can use multiple condition nodes (more than one condition node). like if first one is satisfied then if second one is satisfied then only print

Regards,

KP

Former Member
0 Kudos

You might have clicked on "Insert OR" button which is adjacent to Delete button.

Just try to check that.

Also, the relation operator should be '=' in both the fields.

Try checking this as well

0 Kudos

i have checked. i had not marked insert or, even it is behaving as or condition. how can i go as and condition.

Former Member
0 Kudos

If <Condition1> and <Condition2>.

Print Text.

Endif.

Regards,

Joan

Former Member
0 Kudos

Hi Ajay,

there is no need of pressing any condition button jus give second condition as first one

by default system pick it as AND condition.

like field1 = '10000'

field2 = '20000'

cheers

regards

vijay

0 Kudos

but i donot know why it is behaving as or because i have given two conditions

val1 not eq 0

val2 not eq 0.

if both r zero then it is working fine but if value2 is not 0 then also it is true.

with regards and thanks

ajay

0 Kudos

Just simpilfy yourself by writing program lines based on If and Endif condtion.

This should work

Former Member
0 Kudos

thanks for your kind helps.