open a database using HTML link


P

Puppet_Sock

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.
 
D

Douglas J Steele

/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.
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top