Hi Guys,
Is there any way to execute the condition stored in variable. Like- Variable 'strVar1' stored the following condition-
strVar1 = "iif(Text1.enabled = 'true','Ok','Invalid')"
I want to execute the this condition & resultant value should be display in anywhere.
I want the command to execute in that way-
Text2.Text = ExecuteCondition(strVar1)
Based on result either it will display "Ok" or "Invalid" in Text box.
Important point is that condition string can be anything so it is not possible to create a function.
Please suggest me some solutions or alternate.
Thanks in Advance
Pankaj
Senior Software Engineer,
Infotech Enterprises Limited
Hyderabad, Andhra Pradesh, India.
URL :
Is there any way to execute the condition stored in variable. Like- Variable 'strVar1' stored the following condition-
strVar1 = "iif(Text1.enabled = 'true','Ok','Invalid')"
I want to execute the this condition & resultant value should be display in anywhere.
I want the command to execute in that way-
Text2.Text = ExecuteCondition(strVar1)
Based on result either it will display "Ok" or "Invalid" in Text box.
Important point is that condition string can be anything so it is not possible to create a function.
Please suggest me some solutions or alternate.
Thanks in Advance
Pankaj
Senior Software Engineer,
Infotech Enterprises Limited
Hyderabad, Andhra Pradesh, India.
URL :