Results 1 to 4 of 4
  1. #1
    oemar00 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Sep 2013
    Posts
    14

    Linking Table through Hyperlink or should I use Text

    Hello,
    I want to link tables to a document repository which can be done easily through hyperlink where Users can click the file names from the Forms, edit then save it.

    The problem comes when I want to link between tables because Access says it cannot maintain and utilized hyperlink the same like type text in relationship between Primary Key to Foreign Key in tables.

    The link will work by changing field type to Text however the User cannot easily click to edit and modify the document as easy as I want; that is without coding.
    Is there an easy solution without going into too much of coding or VBA.

    I am sure other people has solved this issue before me. I am using Access 2010 on Windows 7 Enterprise 32 bit.



    Thank you.

  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,521
    I personally use text, but I don't think I've ever tried to create a relationship on this type of field (I'd wonder why). In any case, the code is simple:

    Application.FollowHyperlink Me.txtAttachment

    where txtAttachment is the name of the textbox containing the path.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    oemar00 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Sep 2013
    Posts
    14
    Quote Originally Posted by pbaldy View Post
    I personally use text, but I don't think I've ever tried to create a relationship on this type of field (I'd wonder why). In any case, the code is simple:

    Application.FollowHyperlink Me.txtAttachment

    where txtAttachment is the name of the textbox containing the path.
    Great! This work just fine, simple and easy.

  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,521
    Happy to help!
    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. Replies: 4
    Last Post: 01-05-2013, 11:07 AM
  2. Adding Hyperlink into Textbox with Text
    By tylerg11 in forum Forms
    Replies: 5
    Last Post: 11-07-2011, 01:58 PM
  3. importing hyperlink with text
    By Mak_kap in forum Import/Export Data
    Replies: 9
    Last Post: 02-10-2011, 07:38 PM
  4. Replies: 2
    Last Post: 03-30-2010, 05:08 PM
  5. have hyperlink use own name/text
    By airhud86 in forum Access
    Replies: 1
    Last Post: 12-16-2009, 09:35 AM

Tags for this Thread

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