Listbox Image

D

DS

I'm trying to put n image in a listbox. This is wht I hve but it doesn't
seem to work;

EMemo:IIf(IsNotNull([Memo]),c:\Gor\GImages\Notepd.jpg,"")

If the field has an entry I wnt the image to appear, otherwise the field
should be blank. I have the statement in a Query.

Thanks
DS
 
D

Douglas J. Steele

AFAIK, you can't put images into listboxes.

However, you'd certainly need quotes around the file name if it could work.
 
T

Tony_VBACoder

However, you could use a "TreeView" control to do this.

Douglas J. Steele said:
AFAIK, you can't put images into listboxes.

However, you'd certainly need quotes around the file name if it could work.

--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)



DS said:
I'm trying to put n image in a listbox. This is wht I hve but it doesn't
seem to work;

EMemo:IIf(IsNotNull([Memo]),c:\Gor\GImages\Notepd.jpg,"")

If the field has an entry I wnt the image to appear, otherwise the field
should be blank. I have the statement in a Query.

Thanks
DS
 
D

DS

Douglas said:
AFAIK, you can't put images into listboxes.

However, you'd certainly need quotes around the file name if it could work.
Thanks, I'll keep looking. I think I saw this done once. I'll keep all
abreast.
DS
 
Top