| From: | Richard Huxton <dev(at)archonet(dot)com> |
|---|---|
| To: | Kristina Yamamoto <kristinay7(at)yahoo(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Question about PostgreSQL's bytea compatibility with MS Access as front-end |
| Date: | 2008-03-05 09:02:20 |
| Message-ID: | 47CE619C.2050908@archonet.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Kristina Yamamoto wrote:
>
> We decided to migrate the database to PostgreSQL, because of the
> ability to still use Access as the front-end (there are forms,
> queries, etc that are easier for the volunteers to use in Access than
> learning SQL.) We bought the DBConvert program, which stores the
> photos in bytea format in PostgreSQL. However, when we try to link to
> the PostgreSQL database using Access, the pictures are no longer
> recognized as OLE - instead they are binary and are no longer visible
> using Access' image viewer.
You can work around it by creating a temporary file and streaming the
data to it, then displaying that file on the form. That's a common
(though perhaps fiddly) option.
This site describes things, but bear in mind they're selling a plugin to
handle this problem:
http://www.ammara.com/articles/accesspictureole.html
More here too:
http://www.jamiessoftware.tk/articles/handlingimages.html
--
Richard Huxton
Archonet Ltd
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Richard Huxton | 2008-03-05 09:09:47 | Re: Meaning og Logs |
| Previous Message | Suresh Gupta VG | 2008-03-05 08:47:30 | Meaning og Logs |