D
David de Passos
HI!
I have a problem
I've saved the following formula in a VARCHAR filed in my database:
4<=5 AND 4>=1
Now, I want read that formula from the database and use/validate it in an IF
clause.
Exmaple:
IF 4<=5 AND 4>=1 THEN
msgbox("Verdade")
ELSE
msgbox("Faslo")
END IF
How can do that??
Doing IF VARIAVEL THEN doesn't work because is a string variable,and one
string variable witout condition I get an error.
Best Regards,
David de Passos
--------------------------------------------------------------
RCSOFT, Lda.
E-Mail: (e-mail address removed)
Móvel: +351 966931639
Telefone: +351 239708708
Fax: +351 239708701
Tel. Directo: +351 239708705 ext. 401
I have a problem
I've saved the following formula in a VARCHAR filed in my database:
4<=5 AND 4>=1
Now, I want read that formula from the database and use/validate it in an IF
clause.
Exmaple:
IF 4<=5 AND 4>=1 THEN
msgbox("Verdade")
ELSE
msgbox("Faslo")
END IF
How can do that??
Doing IF VARIAVEL THEN doesn't work because is a string variable,and one
string variable witout condition I get an error.
Best Regards,
David de Passos
--------------------------------------------------------------
RCSOFT, Lda.
E-Mail: (e-mail address removed)
Móvel: +351 966931639
Telefone: +351 239708708
Fax: +351 239708701
Tel. Directo: +351 239708705 ext. 401