store directory of OLE object
anonymous_at_discussions.microsoft.com
Date: 02/22/04
- Next message: Mike: "Re: How to do this in a list box?"
- Previous message: ALESSANDRO Baraldi: "PopUp Menù"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 22 Feb 2004 03:58:53 -0800
I have a form to store pictures. The pictures are linked
to the db and not stored in it.
I have the following fields in a table
ImgID - PK
Pic - data type OLE Object
File_Path - data type text
I am able to bring up the InsertObject dialog box where I
can browse to select the picture from the directory where
it is stored using the commands below.
DoCmd.GoToControl "Pic"
DoCmd.RunCommand acCmdInsertObject
How can I store the directory where the file is located
in the db in the File_Path in the table. I would like to
automatically copy it from the InsertObject dialog box
and insert it in the File_Path field, or any method where
I do not have to type it manually?
- Next message: Mike: "Re: How to do this in a list box?"
- Previous message: ALESSANDRO Baraldi: "PopUp Menù"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|