OPEN A FILE

K

Kevbro7189

I have a list of file names in a table and I want a way for the user to open
the specific file in it's designated program. I've tried to use RunApp such
as:

"C:\Program\............\WINWORD.exe" "[TempVars]![File]"

But no matter what I try it always thinks "[TempVars]![File]" is the actual
name of the file. Anybody have any better ideas?
 
K

Kevbro7189

I have. I still get an error "Can not find C:\...\[TempVars]![File].doc"


Ken Snell said:
Try this:

"C:\Program\............\WINWORD.exe" [TempVars]![File]
--

Ken Snell
<MS ACCESS MVP>
http://www.accessmvp.com/KDSnell/


Kevbro7189 said:
I have a list of file names in a table and I want a way for the user to
open
the specific file in it's designated program. I've tried to use RunApp
such
as:

"C:\Program\............\WINWORD.exe" "[TempVars]![File]"

But no matter what I try it always thinks "[TempVars]![File]" is the
actual
name of the file. Anybody have any better ideas?
 

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