Results 1 to 4 of 4
  1. #1
    2 Star Lounger
    Join Date
    May 2005
    Posts
    180
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Referencing a photo (2003 sp2)

    I have a form which displays a photo. As was suggested on this forum, the location of the image is referenced in a table. Both the backend and the actual image are located on the server. I am unable to properly reference the file from the table. I have used this format servercmy documentsxxx.jpg to identify the photo on the my documents folder of the server. Unfortunately, the file can not be found. (If I place the photo and reference to the local computer it works fine). Any suggestions would be helpful

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Referencing a photo (2003 sp2)

    cmy documents looks somewhat unlikely as a path on a server. If you open the folder containing the .jpg in Windows Explorer, what path is displayed in the address bar? (Make sure that the Addres Bar toolbar is visible)

  3. #3
    2 Star Lounger
    Join Date
    May 2005
    Posts
    180
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Referencing a photo (2003 sp2)

    From the server perspective the file location is c:my documentsaccessphotoxxxx.jpg (note colon here and not in my reference). The linked table manager references my backend as servercmy documentsaccessBE.mdb.(? UNC naming ) The image file is in the subdirectory of the access folder.

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Referencing a photo (2003 sp2)

    See if you can use the code provided in the Northwind sample database.
    Select Help | Sample Databases | Northwind Sample Database to open it.
    Activate the Database window.
    Look at the Employees form, in particular the code behind the New Picture button.

Posting Permissions

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