From Access to Word

  • Thread starter Lodewijk Olthof
  • Start date
L

Lodewijk Olthof

In MS Access i have a form with a field called Filename. In that field the
filename (C:\WIN\TEST.DOC) of a document is listed.
Now on the same form I want to make a button. When clicking that button,
Wordt opens with the file form the field Filename.

What is the code to use with the On Click Button?

Lodewijk
 
P

Pavel Romashkin

Type

FollowHyperlink "C:\WIN\TEST.DOC"

or if you want toreference the field,

FollowHyperlink "'" & Me!Filename & "'"

Pavel
 

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

Top