FAST REPORT PROBLEMS-HELP NEEDED

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
Don_Rod
Posts: 4
Joined: 2018-05-20 13:31:16

FAST REPORT PROBLEMS-HELP NEEDED

Post by Don_Rod »

Fastreport gives an error when writing more tha one variable in the scritp.

Example (I have a lot more, but this is the simplest one):

Memo
[Year]
[tmp1]
[tmp2]

Script
tmp1 := [Director];
tmp2 := [Country];


ERROR MESSAGE: Undefined symbol "TMP2"

Any idea?
Thanks for your help

Don
antp
Site Admin
Posts: 9639
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Re: FAST REPORT PROBLEMS-HELP NEEDED

Post by antp »

Have you checked in other templates if there was something similar?
Right now I don't really remember how that worked (and it has some bugs, as it is an old version of that reporting system), so I can't really help :/
Don_Rod
Posts: 4
Joined: 2018-05-20 13:31:16

Re: FAST REPORT PROBLEMS-HELP NEEDED

Post by Don_Rod »

Thanks for your answer.

I have seen that the error disappears writing each segment code as below:

begin
code1
begin
code2
end;
end;

There is no reason for that but ....
Post Reply