Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening a non-Access file from within Access

Status
Not open for further replies.

JMCONNOR

Technical User
Feb 16, 2006
16
0
0
US
I have an Access 97 database that stores the contents of specified directories in an Access table. The database contains a form on which I can search for a specific file to see where it is on the drive.

I would like to know how to open the file (say, a ".doc" file) from this form. I know how to set the process in motion by setting an event, but I'm stumped at what the code would be to actually open and view the file.

I've been looking at the "SHELL" command but have so far been unsuccessful.
 
I'm not sure for ac97 but you may try the FollowHyperlink method.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
That's it. Does exactly what I want. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top