insert OLE object with VB code

C

Chuck

I have a form with a bound object frame so that I can add an attachment to
my database. To add the attachment, I right-click the frame, select "Insert
Object", select "Create from file", and then select the "Browse" button.

I would like to add a button on the form that will do the "Insert Object"
action and bring up the "Browse" button in one step. I have not been able
to figure out the VB code required to do this.

Can anyone help?

Thanks

Chuck
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top