Variable with script return error in new version 4.1.0

If you made a template for printing or HTML export, you can offer it to the others here. You can also ask here for help about these templates
Post Reply
linux2299
Posts: 4
Joined: 2012-02-21 08:20:43

Variable with script return error in new version 4.1.0

Post by linux2299 »

Hi, I've made a report with a variable that mark the most recently added movies in this way, in the script box I've written:

begin
if [Date]>((Date)-90) then
tmp1 := '*'
else
tmp1 := ' '
end;

and then in the Memo box, I've put the [tmp1] variable.

This run perfectly in 3.8.0 release, but in the new releases it returns: "An error occured during calculating [tmp1] Report: frReport1 Band: Master data"

Why? does the syntax has changed in newer versions?
Thank you
soulsnake
Posts: 756
Joined: 2011-03-14 15:42:20
Location: France

Post by soulsnake »

Why? does the syntax has changed in newer versions?
It should works.
I just modifid some things to add custom fields support.
Can you send me your report template ?
I will try to find and fix the problem.

Soulsnake.
linux2299
Posts: 4
Joined: 2012-02-21 08:20:43

Post by linux2299 »

How can I send it to you?
soulsnake
Posts: 756
Joined: 2011-03-14 15:42:20
Location: France

Post by soulsnake »

You can send me it by mail: mickael.vanneufville@gmail.com

Edit:
Ok I found and fix the bug.
It will be fixed in next version ;).
Sorry.

Soulsnake
linux2299
Posts: 4
Joined: 2012-02-21 08:20:43

Post by linux2299 »

Thanks a lot! Can you also answer me to the questions I've added in the mail I've sent to you?

Thank you so much
Post Reply