Examples
Example 1: Image
Suppose that for each of your employees you have a .bmp file that contains a picture of the employee.
In your employee table, you have a column named PICTURE that contains the name of the .bmp file with the employee's picture.
To generate a report that displays the employees' pictures, you select the PICTURE column in your query.
On the Column property sheet for the PICTURE column, you set Read from File to Yes and specify Image as the File Format.
Reports Builder will display the files pointed to by the PICTURE column wherever you have referenced the PICTURE column in your layout.
Note: If Read from File is set to No, the filenames will be printed instead of the pictures.
Usage notes
You can prefix paths to the filenames in the column.
If a path is not prefixed to the filename, Reports Builder uses its file path search order to find the file.
To ensure the portability of your reports, you can take advantage of the Reports Builder-specific environment variable
called REPORTS_PATH.
Partager