Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using the Image control

Status
Not open for further replies.

wsobers

IS-IT--Management
Dec 2, 2000
43
BB
I have created a cursor with a general field. Basically its a list of names with a JPEG or GIF image for each name.
I want to be able to display the image from the general field on a form.
I have done this using the file name technique, but in this instance I ( or rather Management) do not want the images to be stored on the disk.
A cursor has the nice effect of cleaning up after itself when the application closes.
I got the impression that the general field could be bound to an image control for display.
Or doI need an OLE/COM control to do this?

Thanks in advance
Wayne Sobers
 
If you have version 9, you could use a Blob field to store the image and just reference it with the Picture property on your form. My understanding is that General fields carry a lot more baggage and most people shy away from them.

Regards,
Jim
 
Jim,
Thanks for the pointer. It worked great for what I want to do.
There is one more question, I find I have to assign the PictureVal property to get the image control to refresh, rather than just have the PictureVal Property set on the Property sheet. Is this normal, or am I missing something?


Wayne
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top