Results 1 to 4 of 4
  1. #1
    wrbuchanan2 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Apr 2013
    Posts
    4

    Trying to link to a file


    I have an access database that I am creating cataloging some class rosters that are in .pdf format. I have created a table that show the basic file location of the rosters. Each roster has a unique activity code. I tried to create a query that a form can use to take the basic file location and concact the activity code from a user input so it will create the link directly to the file. I am unable to make the field in the query or in the form into a link? Any help on how I can do that? I have been playing around a bit and found I can create a form from a table that has the full file address including the activity code that I can link and open the file. I really want it so the user can specify which activity code and be able to get the link for that specific. I don't want to really add a link to every activity code in a table. An example, I teach a class called "apples". The rosters for apples are in c:\apples. I want to enter the activity code for a specific apples class and concact the information to show as a link in a form such as file://c:\apples\activitycode.pdf

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,919
    A hyperlink can be saved into a Hyperlink field in table.
    Textbox has Hyperlink property.

    Also review
    http://msdn.microsoft.com/en-us/libr...ffice.11).aspx
    http://allenbrowne.com/casu-09.html
    http://allenbrowne.com/func-GoHyperlink.html

    Post your attempted code for analysis.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    wrbuchanan2 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Apr 2013
    Posts
    4
    I hadn't written this as code...was just using a basic form and query. I am fairly new at access and just doing some things to gain experience and understanding. I have worked with visual basic before in classes, but haven't wrote any in access yet.

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,919
    Explore and test the options given and when you encounter specific issue, post question.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 2
    Last Post: 12-27-2012, 09:37 AM
  2. Link to txt file, but specify formatting
    By dumbledown in forum Import/Export Data
    Replies: 3
    Last Post: 03-20-2012, 05:52 AM
  3. Replies: 1
    Last Post: 07-26-2011, 05:18 PM
  4. Access link to excel file
    By delkath in forum Access
    Replies: 3
    Last Post: 09-13-2010, 12:28 PM
  5. Text File Link
    By pkell658 in forum Import/Export Data
    Replies: 1
    Last Post: 03-23-2010, 04:46 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