Hi BL, where exatly is the problem, i use (myVarName) in the file part of the report picture control and it works fine, are you have problems with making the variable available to the report?
Craig
> Here's the situation:
> I have an app with several reports.
> Those reports have a standardized header in lay-out technical terms.
> One of the components of that header is a company logo.
>
> In a standard VFP report this picture is incorporated in the FRX file with object-type 17.
> What I would like to achieve is that the picture depends on a public variable.
> meaning: I have one picture filer.ico...
> When I want to show that in my report I would like to set a variable as a string with "filer.ico" and get that in my report.
> When I want XYZ.BMP in the string I want the report to display that pict.
> I don't get it to work. Anybody who can enlighten me?
>
>
> Boudewijn Lutge®ink
>
Boudewijn.Lutgerink@foxite.com> Experience is the knowledge you get immediately AFTER you actually needed it...