Problem with the picture variable in the ReportDesigner
Posted: 2006-10-24 15:37:05
Hi!
I want to Simply add a printout for if there is a picture added to the movie or not (to reduce resizing etc which takes forever when all you need is a report so that you know which covers one needs to obtain by scanning :-) ).
I.e. i want a printed movie to look like a one-liner a syntax like this:
<Num> <Title> <IsThereAPictureOrNot>
Now how do i manipulate a field / variable to discover if the [Picture] variable has an picture or not and set this vaiable to the string 'Has Image' when this is true?
Tried This:
Memo part: [tmp1]
Script part:
begin
if ([Picture] <> '') then
tmp1 := 'HasImage'
else
tmp1 := ''
end;
But i only get "An error occured during calculation of tmp1... Band: Master Data" from trying to print with a template with the tmp1 variable.
What am i doing wrong?
//malco2
I want to Simply add a printout for if there is a picture added to the movie or not (to reduce resizing etc which takes forever when all you need is a report so that you know which covers one needs to obtain by scanning :-) ).
I.e. i want a printed movie to look like a one-liner a syntax like this:
<Num> <Title> <IsThereAPictureOrNot>
Now how do i manipulate a field / variable to discover if the [Picture] variable has an picture or not and set this vaiable to the string 'Has Image' when this is true?
Tried This:
Memo part: [tmp1]
Script part:
begin
if ([Picture] <> '') then
tmp1 := 'HasImage'
else
tmp1 := ''
end;
But i only get "An error occured during calculation of tmp1... Band: Master Data" from trying to print with a template with the tmp1 variable.
What am i doing wrong?
//malco2