open a database using HTML link

Discussion in 'Access General' started by Puppet_Sock, Mar 21, 2013.

  1. Puppet_Sock

    Puppet_Sock Guest

    So what I'm trying to do is, have a central location to collect links
    to a bunch of company documents and references and stuff, so every
    employee can just look there to find where everything is.

    And what I thought was, an HTML web page, visible over the LAN, with
    links to all the stuff.

    One of the things is a MS Access database. And putting a link like
    this

    <a href="[path][databasename].accdb">link text</a>

    works ok. It opens the databse. (Of course [path] and [databasename]
    are replaced with the full thing.)

    But I want to pass the database file a parameter so that it can
    process the parameter and open at the correct record. I can do the
    database part. How to get the parameter into the link? Thoughts? I
    can't seem to get this to pass anything to the /cmd.
     
    Puppet_Sock, Mar 21, 2013
    #1
    1. Advertisements

  2. /cmd must be passed as a parameter to msaccess.exe. You cannot use it simply
    with a hyperlink to the .accdb file.

    "Puppet_Sock" wrote in message

    So what I'm trying to do is, have a central location to collect links
    to a bunch of company documents and references and stuff, so every
    employee can just look there to find where everything is.

    And what I thought was, an HTML web page, visible over the LAN, with
    links to all the stuff.

    One of the things is a MS Access database. And putting a link like
    this

    <a href="[path][databasename].accdb">link text</a>

    works ok. It opens the databse. (Of course [path] and [databasename]
    are replaced with the full thing.)

    But I want to pass the database file a parameter so that it can
    process the parameter and open at the correct record. I can do the
    database part. How to get the parameter into the link? Thoughts? I
    can't seem to get this to pass anything to the /cmd.
     
    Douglas J Steele, Mar 21, 2013
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.