Try...except issue
Hi.
I need to check eries of non-declared variables from script. This is a dobule-pass report, where variables are set in first pass, and read in final pass. In the final pass we don't know which variables are set in the first.
I try to put the reading of variables inside of a try-except like this (the variable <test> is not declared):
The report gives a 'No value' message as supposed to, but there is also a warning saying 'Unknown variable or datafield: test'.
Is there any way to avoid this message?
I need to check eries of non-declared variables from script. This is a dobule-pass report, where variables are set in first pass, and read in final pass. In the final pass we don't know which variables are set in the first.
I try to put the reading of variables inside of a try-except like this (the variable <test> is not declared):
try
showmessage(get('test'));
except
showmessage('No value');
end;
The report gives a 'No value' message as supposed to, but there is also a warning saying 'Unknown variable or datafield: test'.
Is there any way to avoid this message?