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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open file and link Drawing to OLE field 1

Status
Not open for further replies.

millrat

Technical User
Dec 23, 2003
98
US
Hi,
I would like to be able to click command button and browse for a Visio drawing and save in OLE object field in my table, preferably as a link not embedded. How can I do this?
All help appreciated.
Thanks,
millrat
 
Hi Ken
I am using the drawing as a preview on a form and in a report with other info
regards,
millrat
 
First set the focus to the feild in your form that is for the OLE Object in your table. Then use Runcommand to browse and insert the object:

Forms![YourForm]![VisioField].Setfocus
DoCmd.RunCommand acCmdInsertObject

Good luck!

Anthony J. DeSalvo
President - ScottTech Software
"Integrating Technology with Business"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top