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
Problem with the picture variable in the ReportDesigner
Two questions:
1. Is the problem to ask if the variable '[Picture] != NULL' (pseudo c-syntax)?
If so couldn't it be solved by using a shadow vaiable like PictureName or something like that that isn't a visible field, but could be referenced like that and is of the type string so that my 'example code' could work by using that variable instead of [Picture] ?
2. Wouldn't it be a nice feature to be able to test if the Picture is set or not for future releases of YOUR ABSOLUTLY WONDERFUL AND AMAIZING SOFTWARE?
//Malco2
1. Is the problem to ask if the variable '[Picture] != NULL' (pseudo c-syntax)?
If so couldn't it be solved by using a shadow vaiable like PictureName or something like that that isn't a visible field, but could be referenced like that and is of the type string so that my 'example code' could work by using that variable instead of [Picture] ?
2. Wouldn't it be a nice feature to be able to test if the Picture is set or not for future releases of YOUR ABSOLUTLY WONDERFUL AND AMAIZING SOFTWARE?
//Malco2