I have looked at your document, but it doesn't mention how you can use
an image in a report or a from.
What it does, is write the image to a file.
Now, I could do something like that, put the image on disk somewhere
and then use that URL to display the image, but that is an ugly
solution.
I think it should be possible to tell an ImageControl to display
binary data from a database, something like writing to a file, but
then passing the binary stream to the ImageControl. If this isn't
possible yet, it should be made possible in my opinion.
Also on a lot of fora I read posts like mine, but often no real answer
is there...

Cheers,

Willem

On 5/18/06, Andrew Douglas Pitonyak <[EMAIL PROTECTED]> wrote:
Willem Ligtenberg wrote:

> Hi,
>
> I'm writing a macro that performs a query on the database and puts the
> result of the query on screen (in a form). Since the query will result
> in only one result.
> I am able to display text and date fields. But I also want to be able
> to show a picture that is stored in the database. How do I get an
> ImageControl to display that image, which is stored in binary format
> in the database?
>
> Thanks in advance,
>
> Willem Ligtenberg

I started working on a similar example in my database document on my web
site (AndrewBase.odt). It might serve as a starting point.

--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
My Book: http://www.hentzenwerke.com/catalog/oome.htm
Info:  http://www.pitonyak.org/oo.php
See Also: http://documentation.openoffice.org/HOW_TO/index.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to