Accessing (SDAC) Parameters in FastScript

edited 7:14PM in FastScript
Hi together,

I habe a report, that is build with TfrxSDACQuery. In the Query I have a statement like:

SELECT * FROM XYZ WHERE FieldA=:ParamA

The Paraneter ParamA is connected to the report's variable <xy>.

Now I try in the script the following:

if <xy> = Null then
<xy> = 'Hello';

This does show an error "';' expected".

Then I tried the following;

if <xy> = Null then
Set(<xy>, 'Hello');

This will start the report but raise an error "<dataset>: Error in expression '': Expression expected.

What is wrong? Where is the full documentation for FastScript? In the documentation on the web I cannot find the "set" function. I found this function in the demo application...

Please make me a little bit "wise" [img]style_emoticons/<#EMO_DIR#>/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" /> Alex[/img]

Leave a Comment