‎2009 Dec 15 9:12 AM
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?
‎2009 Dec 15 9:29 AM