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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using text box to change between images

Status
Not open for further replies.

bfamo

Technical User
Feb 16, 2006
132
NO
Hi guys

I have three pictures 160x160 pixels in size that I want to put into my form. However, I want to control which image is visble through a text box.

This means that if I type the number "1" into the text box, the first image is shown, when I type "2", the second image is shown etc....

What kind of object is able to switch between different images based on values in a text box?
I've been trying to google around to find some information, but the problem is that I dont know that to search for.

Does anyone know any words that will give me some good results in google, og maybe a tutorial that deals with this matter?


Thanks ;)
 
You may use an Image control and set dynamically by code its Picture property.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
yeah, that sounds right.

I have also been reading about bound objects and OLE possibilities in my access bible. But I really dont know where to start in terms of VBA code. There must be some dude out there that has faced the same problem as me?

I greatly appreciate all the info I can get, either code, links to web pages, advice etc.

Thanks
 
How are you storing the images in the database? Once I know how you are storing the images I can give you some ideas.

Life's a journey enjoy the ride...

jazzz
 
How are ya bfamo . . .

Have a look here Handle/Display images in forms/database

Calvin.gif
See Ya! . . . . . .

Be sure to see FAQ219-2884:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top