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

Pictures in tables in Access

Status
Not open for further replies.

dsmith910

Technical User
Jan 16, 2003
127
GB
Hi

I'm building a dbase which will eventually run a catalogue (I hope!). Each item has a picture to show what it looks like.

Can I store the pictures in the dbase, or do I reference it somehow, or.....?

As you may be able to tell - I'm pretty new to Access.

Any help would be appreciated.

Thanks

Doreen
 
have a look at
Thread702-289543

Hope this helps
Hymn
 
Hi Hymn

Golly!! have had a quick deckers at the thread you mention and its clear I will need to sit down with a bit of time, a slab of chocolate and a good pot of tea. Its going to take some reading.

Will let you know how (or even 'if') I go on!

Thanks

Doreen4
 
Yes there's lots of reading the basic thou is to LINK the pics Not to store them in the db it bloats just like me at the thought of that slab of chocolate never mind eating it

1. Place an image control on your form "imgPicture"
2. place a text box on your form "Link"

Code:
Private Sub Form_Current()
Me!ImgPicture.Picture = Me!Link
RefreshDatabaseWindow
3. Place a cmd button on your form
place the code below on the button
Code:
Me!ImgPicture.Picture = Me!Link
this will display the pic when you first type in the path if you click the button
if you keep all the pics in a single folder it will make life a little bit easier

You then need to Look up Common dialog box

two slabs of chock for that

If you get stuck let me know i will paste the code I borrowed of BillPower Fantastic Programmer who used to post here

Hope this helps
Hymn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top