Formula

  • Thread starter David de Passos
  • Start date
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Autosize + Datagrid 1
IP 1
Running Program 8
Query Timeout 3
TextBox 2
DataGrid Collumn/Cell Color 1
DataGrid 2 1
Regional Settings 4

Top