OPEN A FILE

  • Thread starter Thread starter Kevbro7189
  • Start date Start date
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?
 
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?
 
Back
Top