Unanswered: Insert OLE Object in Table via Command Button
I have a table with a field called Image and the type is OLE Object. I then have a form that is bound to this table and there is a Bound Object Frame with the control source being Image.
I would like to have a command button that will insert the object, rather than have the user right-click and select insert object. I don't want the user to have to choose the options through the dialog box, I want to choose the options in code for them.
I need to be able to choose what type of file to insert in the OLE field. Some of the ones I will do are Bitmap, Paintbrush, and perhaps Autocad .dwgs'.
If this is possible I will increase the points for help with using the method do to it, along with the various parameters.