>>>Ok, after I removed that Print When expression I am now getting an ugly 'syntax error' with no explanation. Why REPORTS are so hard to debug?
>>>
>>>I put a breakpoint into that esppimg program but I still get 'Syntax Error' and it does not go into the program.
>>
>>I hate pictures in report.
>>What this function returns and why you need function?
>
>I give up :(((((((((((( Why would it now return 'Syntax Error' with only 'Ok' and 'Help' buttons? How would I know why does it return syntax error?
Maybe because it returns empty picture?
Let this function return some external picture and then test it.
Something like:
LPARAMETERS ....
IF EMPTY(param1)
RETURN LOADPICTURE("d:\empty.bmp")
ELSE
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.