Mike Yearwood
Toronto, Ontario, Canada
Information générale
Catégorie:
Codage, syntaxe et commandes
Hi Ger
Cathy was right. To use macro substitution, you cannot use "m.". The period stops the macro. So, you could have done &condition, not &m.condition.
>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?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement