You add an image to a report when you want the image to display in a report created in Report Builder. You deploy the report and then use the Images page in WebReports to complete this procedure.
This procedure is intended for adding images to reports created using Report Builder only. Für weitere Informationen siehe Report Images .
In WebReports, on the menu bar, click Images .
In the Manage Images pages, in the Image file box, enter the name of the image file you want to upload.
In the Image tag box, select a tag to be used in the database to identify the image.
In the Image name box, type a name for the image.
Click Save .
In MS Report Builder, open your report.
In the Design view, in the Report Data pane, point to New and then click Dataset .
In the Name box, type a name for the dataset.
In the Dataset Properties dialog box, click the Use a dataset embedded in my report option.
In the Data source box, select a previously created data source.
In the Query box, type a SELECT statement to reference the image you uploaded in WebReports. The SELECT statement must include the image name and image tag that you used when you uploaded the image in WebReports. Für weitere Informationen siehe Report Images .
Click OK .
In the report editor, click the Insert tab and then click the Image button.
Using the mouse, draw the image box on the report.
In the Image Properties dialog box, select Database as the image source.
In the Use this field box, select the imagedata field in your previously created dataset.
In the Use this MIME type box, select the image type of your saved image.
Click OK .
On the Main menu, click Save .
Click Run and check that the image displays in your report.
Now, deploy the saved report to the reports server.