Page 1 of 1

Syntax error at before print event

Posted: Fri Jun 05, 2009 10:36 am
by FritschD
Hi!

I would like to work with the variable "Status" in a before print event.
If the {Requirements._Status} contains the value "zu erledigen", the variable status should be filled with a "X" otherwise the variable Status should be empty.
I tried this:

if Requirements._Status = "zu erledigen"
Status = "X";
else
Status = "";

but alsways got an syntax error :-(
How should I modify the code, so that it will work as expected?

Thanks for your help!
Dirk

Syntax error at before print event

Posted: Fri Jun 05, 2009 7:55 pm
by Edward
Hi Dirk,

Please modify your code as follows:

Code: Select all

if (Requirements._Status == "zu erledigen")
Status = "X";
else
Status = "";
Thank you.

Syntax error at before print event

Posted: Sun Jun 07, 2009 6:09 am
by FritschD
Thanks for your fast help!

Syntax error at before print event

Posted: Sun Jun 07, 2009 6:20 pm
by Edward
Hi Dirk,

Please let us know if any additional help is required.

Thank you.