Insert image in Writer from data in Base

I have a Base table with a list of links to picture relative to my Base and Writer documents (both in the same folder).

In my Writer document, I’d like a picture to be updated based on the link of the entry I’d select in my table (Using F4). Can this be done, and if yes how? Thanks!

Alright, I found an alternative way of achieving what I wanted.
Instead of trying to create my document directly in Writer, I’m simply generating a Report from Base, which allows me to insert Picture Control fields.

Thanks for answering it yourself :slight_smile:

I hope you already have the “how to fetch data from base” part solved, so here is how to use Basic to insert it into document: http://forum.openoffice.org/en/forum/viewtopic.php?f=7&t=42794

Thanks for your reply. I have no problem having text in my document being updated depending on my selection in my database. I checked the link you gave me, but I couldn’t understand much…

I just want to generate a document with text and images with information from a database. I can do it if the document contains only dynamic text, but can’t find an easy solution for dynamic pictures.