Subject Re: Display Images on the form from a local imagefolder
From Lee Grant <camilee@nospam.comcast.net>
Date Fri, 22 Sep 2023 18:21:20 -0400
Newsgroups dbase.getting-started

Mervyn,

Of course you're right. :(

I forgot that indeed, I use a folder where the images are stored, but do
store the image in a blob...so my bad...duh. :)  Thanks for clarifying
my error.  Back to feeling dumb, while I get back to my concrete project. :)

Lee

On 9/22/2023 5:07 AM, Mervyn Bick wrote:
<snip>
>
> This is the way to display images stored in a BLOB field in a table.
> Agostinho actually has this working and what he now wants to do is
> display images held in discreet image files such as .jpg files.  To do
> this the syntax is
>
>      dataSource = 'FILENAME "whatever.jpg"'
>
> The only way to achieve this is to use the rowset's onNavigate event
> handler to assign a new value to the image's dataSource property every
> time the rowpointer moves.  The code is a bit "messier" than when one
> uses images saved in a BLOB field but once it's done it's done.  :-)
>
> Mervyn.
>
>