[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
[sqr-users] dynamic if in sqr
Hi SQR gurus,
I hope you are doing fine today.
I am trying to write dynamic condition for the if statement.
Do you know if this can be done in sqr ?
I have the code something like below:
let $rehire_condition = '$action = ''HIR'' '
if $rehire_condition
end-if
But the above code doesn't work. I am getting error "(SQR 4028) IF or WHILE
expression must return logical result"
Please let me know what I need to put around $rehire_condition after the if. I
tried [$rehire_condition] but I got error (SQR 4008) Unknown function or
variable in expression: [$rehire_condition] if [$rehire_condition]
Please reply.
Thanks in advance.
Have a nice day and great week.
Regards.
Ashish Bhatt.
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users