Results 1 to 2 of 2

Thread: Please help

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2000
    Posts
    1
    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

  2. #2
    Addicted Member
    Join Date
    Oct 1999
    Posts
    253

    Lightbulb

    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!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width