Loading picture from path name in database

Posted by: stealthrt on 4 August 2017, 3:06 pm EST

  • Posted 4 August 2017, 3:06 pm EST

    Hey all i need some help trying to figure this one out... I have one image control on my report with 3 colums count. The image is called imgDBImage with a datafield of DisplayIMG.

    The DisplayIMG in the database looks like this:


    How can i take that and place it on the pictureload code? like:

    imgDBImage.Picture = LoadPicture(imgDBImage.datafield)

    But that doesnt seem to work..... Any suggestions?


  • Replied 4 August 2017, 3:06 pm EST

    Hello ,

    You need to bind the DisplayImg field with hidden TextBox or Label control, the DataField property of imgDBImage should be empty,

    then you can use a similar code in format event of section:

    imgDBImage.Picture = LoadPicture(textBox.Text)

    Sergey Romanov.


Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels