Re: Command to open file



"Kathy R" <Kathy R@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4027D981-F3E8-4357-8658-253DD6223AA5@xxxxxxxxxxxxxxxx
> Hello!
>
> I would like to know how to specify a field's contents in a command
> button.
> I'm using Access 2000 here at work.
>
> I have a field 'Program File Name' that I have the full path name to a
> file
> stored. I have assed a command button to open up the preferred editor for
> these file types, and that command works just fine. Now I would like to
> open
> the file specified in the above field. Note: each record has a unique file
> specified in the field.
>
Couldn't you just use a hyperlink field to store the path in? No code
required at all and you can store paths to just about any file type and have
the correct application open for free.

Keith.
www.keithwilby.com


.