Click to See Complete Forum and Search --> : Please help
jasper
Apr 9th, 2000, 01:46 AM
Ok this is an access ? but access uses vb for fors and reports so i guess its all right to post here. I have a database that has a photo field. the photo field cahs the path of te actual photo. exp. c:\datacard\photos\me.jpg In the access for i ould like to display the photo that goes along with that record. if you need more info just let me know. thanks
Forest Dragon
Apr 13th, 2000, 07:00 PM
Follow these steps:
1. Place a TextBox control in the form, bind it to the photo field and set its Visible property to False.
2. Place an Image control in the form. You will be asked to select a picture to display in it. Select any picture you want and then set the Picture property to "(None)".
3. Use the Current event of the form to display the picture:
Private Sub Form_Current()
Image1.Picture=Text1.Value
End Sub
Good Luck!!!
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.