Hi
I have a table with a column defined as OLE - called EventCopy. When in table view or on a form with the control bound to this field I can choose Insert from the menu (or right click option) and choose Object and then MS Word Document.
How can do this 'behind the scenes'? - ideally when inserting a new record. I don't need to link to an existing Word doc just set the OLE field to be a Word doc.
I can simulate the action with a cmd btn on the form with:
but I'd really like to do it without opening the form at all.
Thanks
I have a table with a column defined as OLE - called EventCopy. When in table view or on a form with the control bound to this field I can choose Insert from the menu (or right click option) and choose Object and then MS Word Document.
How can do this 'behind the scenes'? - ideally when inserting a new record. I don't need to link to an existing Word doc just set the OLE field to be a Word doc.
I can simulate the action with a cmd btn on the form with:
Code:
DoCmd.GoToControl "EventCopy"
SendKeys "%IOmicrosoft word document~", True
Thanks