Results 1 to 3 of 3
  1. #1
    Agrilima is offline Novice
    Windows 10 Access 2016
    Join Date
    Feb 2021
    Posts
    4

    followhyperlink

    hello,



    i use the code Application.FollowHyperlink... to open a external database

    i would like to know if it is possible to open a specific form from the external database using Application.FollowHyperlink??

    kind regards,

  2. #2
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,977
    Yes. Two possible methods
    1. Set the form to open at startup in Access options.
    2. Or do the same using an autoexec macro

    Or if you have a startup form and want a different form to open, two other methods
    1. Create a macro to open that form and open the database using the macro 'switch'
    2. Create a desktop shortcut to the specific form. This method works for any database object
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    I'm gonna say no. The link opens the app, but you need code to dig into the form and open 1 specific form.
    Maybe of you can program command line parameters. Then the startup would be like:

    \\server\folder\myDb.accdb /cmd 3
    (where upon opening ,form 3 would startup)

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

Similar Threads

  1. Error Handling for FollowHyperlink
    By will71110 in forum Programming
    Replies: 7
    Last Post: 08-28-2016, 03:00 PM
  2. using FollowHyperlink
    By Jen0dorf in forum Modules
    Replies: 5
    Last Post: 11-24-2015, 04:30 PM
  3. Replies: 3
    Last Post: 06-23-2013, 05:29 PM
  4. FollowHyperlink Help
    By RachelBedi in forum Access
    Replies: 6
    Last Post: 01-18-2013, 08:22 AM
  5. Set IE window size using followhyperlink
    By AndrewAfresh in forum Access
    Replies: 0
    Last Post: 11-23-2006, 12:22 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