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

dynamic condition evaluation

Former Member
0 Likes
425

In my code I have built up a dynamic condition, which is a string containing a condition.

I am useing this string as part of my where clouas ina table select - and that works fine.

However - I also need to evaluate the condtion as part of an if conditin (not a table select).

I can not seem to figure out how to do this.

Is there a way?

the string would be something like ld_condition which woudl be "fielda eq '1' and fieldb ne '1'"

I would need to be able to say somtheing along the lines of:

if ( ld_condition ).

and then have the content of ld_condition evaluated.

How do I do this?

1 REPLY 1
Read only

saumya_govil
Active Contributor
0 Likes
381

Hi Helen,

Check this similar [thread|].

Regards,

Saumya