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

write OR

Former Member
0 Likes
818

Hi,

there is other way to write this or statement ?

IF key_field EQ 'DEM' OR key_field EQ 'OVP' OR key_field EQ 'EP' OR key_field EQ 'EF'.

regards

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
798

hiii

please refer to following forum..

you will get some solution from there

regards

twinkal

Hi,

there is other way to write this or statement ?

IF key_field EQ 'DEM' OR key_field EQ 'OVP' OR key_field EQ 'EP' OR key_field EQ 'EF'.

regards

5 REPLIES 5
Read only

Former Member
0 Likes
798

Cosmo,

here is this is another way:

CASE key_field.

than

when.

Amit.

Read only

JozsefSzikszai
Active Contributor
0 Likes
798

hi,

you can also do:

IF key_field IN ('DEM', 'OVP', 'EP', 'EF').

...

hope this helps

ec

Read only

Former Member
0 Likes
799

hiii

please refer to following forum..

you will get some solution from there

regards

twinkal

Read only

Former Member
0 Likes
798

Hi Cosmo,

Use...

CASE key_field.

WHEN 'DEM'.

<your next statement>.

WHEN 'OVP'.

<your next statement>.

WHEN 'EP'.

<your next statement>.

WHEN 'Ef'.

<your next statement>.

ENDCASE.

Read only

Former Member