Skip to main content
October 2, 2006
Question

Linking to word documents

  • October 2, 2006
  • 1 reply
  • 190 views


I have a sql2000 database and i am trying to write a page which lists my word documents, and can then link to them so they can be opened. I have pulled open the help screens and can't find how to do this?

Can anyone point me in the right direction?/
This topic has been closed for replies.

1 reply

Inspiring
October 2, 2006
Hi.

Are the word documents held within the database or just their file names?
When I've done this in the past I've created a database field for the file
name, let's say the file is called "letter.doc" and the database field is
called "documentfield", and then simply called that field from my recordset
like so:

<a
href="documentsfolder/<%=(Recordset.Fields.Item("documentfield").Value)%>">Click
here to download/open the Word doc</a>

Is that what you mean?

Regards
Nath.

"briansmith" <webforumsuser@macromedia.com> wrote in message
news:efr4s8$r6u$1@forums.macromedia.com...
>
>
> I have a sql2000 database and i am trying to write a page which lists my
> word
> documents, and can then link to them so they can be opened. I have pulled
> open
> the help screens and can't find how to do this?
>
> Can anyone point me in the right direction?/
>
>