Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code stored in a table
Message
From
09/12/2003 10:08:48
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Code stored in a table
Miscellaneous
Thread ID:
00857189
Message ID:
00857189
Views:
61
Hi,

I have a table like the following

Condnum Condition
1 ALLTRIM(mytable.country) = "ITALY"
2 ALLTRIM(mytable.country) = "GERMANY"
3 ALLTRIM(mytable.country) = "SPAIN"

I want to use this data in my code as follows:

SELE mytable
STORE mytable.country TO m.condition
IF m.condition
...
...
ENDIF

This does not work. I have also tried
IF &m.condition
But that does not work either.

What am I doing wrong?
Next
Reply
Map
View

Click here to load this message in the networking platform