Adding dynamic images to report - 2008

  • Hello,

    I am trying to add an employee picture from a local folder to the profile report.

    The report will pull various data and their employee ID. I want the image pulled to be that ID.jpg.

    The method I am trying is "="file:c:\temp\" + fields!employeeID.Value + ".jpg"

    No luck.

    TIA

    J

  • Are you using the image control from the toolbox?

    the Image source should be external.

    The Expression should be something like.

    ="/Images/" + Fields!EmployeeID.Value + ".jpg"

    The reference to the image cannot be a location on the hard drive, It needs to be a reference to the image in the same folder as the project, or on a web server.

    Check out this link about referencing external images. There's probably tons of thers.

    http://technet.microsoft.com/en-us/library/dd220423(v=sql.105).aspx

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply