When collecting employee information, you also need to upload the employee photo. The FineReport reporting software file control supports picture uploading. In this article, we will see the picture uploading process and post-uploading effect.

1. Set file control

Open template %FR_HOME%\WebReport\WEB-INF\reportlets\doc\Form\FreeForm\FreeForm.cpt, where Cell H6 is a file control. As only one photo is to be uploaded for each employee, set the control as Monofile Upload, as shown below:

2. Effect viewing

When filling in BS side, you can upload the picture. If this cell is bound to a field in one database table (the bound field type must be large text category, like BLOB, image, OLE objects. Types vary based on different databases). The uploaded file will be saved in the database table in binary system.

After data saving, drag the data column to the cell, and corresponding photo will be displayed: