Image control from access db RRS feed

  • Question

  • Hello all,

    I have a question about inserting an image (or an image control) in a word document: image path (or, better, image name) comes from an access database field and changes, obviously, with selected record.

    I mean: I have developed a small Delphi program that records in an access db anagraphical data of our users. It records also a picture of the newly inserted user, storing it in access as path to the picture; for example, user Silvia M. record is:

    Name: Silvia

    Surname: M.

    Birthdate: 09/05/19XX

    Picture: Images\silvia01.jpg

    In word I've set up some bookmarks and I've told Delphi to write data in bookmarks (GoToBookmark(pointer(dbgrid.selectedRows.Items[i])) so clicking on a button, Delphi exports on a word file every user data that is "bookmarked"; between these, I can export also picture path as "dynamic" bookmark but I can't figure how to use this data for showing the picture itself.

    Thanks and best regards,


    Tuesday, November 20, 2018 3:27 PM


All replies