Results 1 to 4 of 4
  1. #1
    markjkubicki's Avatar
    markjkubicki is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Jul 2010
    Location
    Fire Island Pines, NY
    Posts
    496

    hyperlink data not transferring to destination table

    I'm inserting records that includes a hyperlink field from 1 table into another that include a hyperlink field of the same name. In the source table, the hyperlink behaves correctly; however, when inserted into the destination table, it does not. Editing the hyperlink in the destination table shows that the link was copied, but with no text and no address (!?)



    any thoughts whatsoever would be greatly appreciated,
    mark

    ------------------------
    Dim sSQL As String
    sSQL = "INSERT INTO tbeAdditionalPages (type, printCatalogSheet, BaseCatalogSheet, CatalogSheetLink, PrintOrder, IsMountingDetail) " & _
    "SELECT '" & Forms![frmSpec].[Type] & "', true, true, '#' & CatalogSheetLink, printOrder, false " & _
    "FROM FixtureCatalogsPages " & _
    "WHERE Manufacturer = '" & Forms![frmSpec].Manufacturer.Value & _
    "' and CatalogNumber = '" & Forms![frmSpec].CatalogNo.Value & "';"
    CurrentDb().Execute sSQL, dbFailOnError

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    Allen Browne may have already investigated it. Here is a forum post from him:

    http://www.pcreview.co.uk/forums/thread-2623505.php

    may want to check that out.

  3. #3
    markjkubicki's Avatar
    markjkubicki is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Jul 2010
    Location
    Fire Island Pines, NY
    Posts
    496
    so I went to your link ... (thank you) and revised my code to include as follows.
    The result was: now the destination field has text, but still no address.

    sSQL = "INSERT INTO ... 'text#' & CatalogSheetLink & '#' ...
    CurrentDb().Execute sSQL, dbFailOnError

    ----------------------
    I then revised it to:
    'text#' & CatalogSheetLink.address & '#'

    this resulted in a error.

  4. #4
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    I really don't have any experience doing this Mark. I hope someone else here can help you out. good luck with it.

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

Similar Threads

  1. Absolute beginner qu - transferring a database
    By kirstywing in forum Access
    Replies: 2
    Last Post: 09-07-2010, 02:12 AM
  2. Need help on transferring found record
    By awsmitty in forum Access
    Replies: 1
    Last Post: 01-22-2010, 09:11 PM
  3. Transferring data from table to table.
    By jlm722 in forum Import/Export Data
    Replies: 6
    Last Post: 09-30-2009, 06:16 AM
  4. Access to Excel transferring multiple rows to single row
    By peter_lawton in forum Import/Export Data
    Replies: 10
    Last Post: 09-23-2009, 10:16 AM
  5. Transferring Individual Records
    By bazillion in forum Programming
    Replies: 0
    Last Post: 01-25-2008, 12:13 PM

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