Setting a Variable
Hi
I have the folowing code in master data
if Copy(<ADOQUERY1."cod_freq">, 1, 1) = '1' then
Set('diaria','X') else
Set('diaria',' ') ;
diaria is a variable that i create in Fr' variables
It may be a simple question , but i need diaria to be 'X' but Set
('diaria','X') returns that X is not a Variable. If the Set is
Set('diaria','1') else
Set('diaria','0') ; Works Ok , Why 'X' doesn't work ??
may be preceded by some symbol ?
best regards
Pedro Faro
I have the folowing code in master data
if Copy(<ADOQUERY1."cod_freq">, 1, 1) = '1' then
Set('diaria','X') else
Set('diaria',' ') ;
diaria is a variable that i create in Fr' variables
It may be a simple question , but i need diaria to be 'X' but Set
('diaria','X') returns that X is not a Variable. If the Set is
Set('diaria','1') else
Set('diaria','0') ; Works Ok , Why 'X' doesn't work ??
may be preceded by some symbol ?
best regards
Pedro Faro
Comments
Hi,
I don't know why it doesn't work but I know this one does :
Set( 'diaria', Report.Variables );