Results 1 to 4 of 4
  1. #1
    CQCDave is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Nov 2014
    Posts
    47

    An update query problem

    I have a table warrentyregristration that has a hyperlink field. I am attempting to run an update query to update all records. There are 18,500 records in that table.


    These records represent the warranty information that customers have send in to our company after purchasing our product. These were mailed/faxed/emailed to our Sales dept. The scanned these into a pdf file and thy reside on the server. Any issues from the customers were noted on the pdf files by use of the "sticky note" on the pdf, I was able to extract all the file names from the directory remove the .pdf and import these records into table.
    The users access the data through a form bound to the table. I want to update the hyperlink field to the corresponding pdf file on the server. The server info is as follows: \\w2008svr\kit master files\. In the vehicleregistration table these is a field VIN#. I want to combine the server info and VIN# data and add .pdf at the end. I have tried UPDATE warrantyregristration SET warrantyregristration.Hyperlink = "\\w2008svr\kit master files\ [WarrantyRegristration]![VIN#] .pdf"; But that shows up the field like this \\w2008svr\kit master files\ [WarrantyRegristration]![VIN

    Any help would be appreciated. I am using Acess 2010.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    I don't use hyperlink fields, but with a text field you'd concatenate:

    "\\w2008svr\kit master files\" & [WarrantyRegristration]![VIN#] &".pdf"
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    CQCDave is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Nov 2014
    Posts
    47
    That did update the field, it displays the correct address. But it will not work, when you click on the hyperlink, the edit hyperlink box opens up and the address is listed in the Text to display, but not the Address if i copy and paste to the Address field it will work. In the table the hyperlink field is populated.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Not sure how to get around that. I don't like the hyperlink field, as what you see and what it actually stores are different. I just use plain text fields and use FollowHyperlink or whatever to open the file.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. update query problem
    By LUMPKINBD in forum Access
    Replies: 4
    Last Post: 06-25-2014, 03:15 PM
  2. UPDATE Query problem
    By Stan Denman in forum Queries
    Replies: 1
    Last Post: 05-21-2013, 02:37 PM
  3. Update query problem
    By pratim09 in forum Queries
    Replies: 5
    Last Post: 05-05-2011, 06:05 AM
  4. Problem with Update Query?
    By emarchant in forum Access
    Replies: 7
    Last Post: 10-08-2010, 12:51 PM
  5. Update Query problem
    By sollem1 in forum Queries
    Replies: 0
    Last Post: 11-08-2007, 10:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums