Guest_imported
New member
- Jan 1, 1970
- 0
I have a table on MS Access where one of the fields is an OLE object.
Now I have a VB form with an OLE object embedded and I need to insert the contents of that OLE object to my table on MS Access.
How can I do this? Let's say my OLE obj on the VB form is called OLE1 and my table Table1. I think I could do something like:
DB.Execute "INSERT INTO Table1(Myfield) VALUES(' & OLE1.Object & "')"
But it gives me an error saying "Object doesn't support this property or Method". How can I do this, anyone knows what am I missing here?
Thanks.
Now I have a VB form with an OLE object embedded and I need to insert the contents of that OLE object to my table on MS Access.
How can I do this? Let's say my OLE obj on the VB form is called OLE1 and my table Table1. I think I could do something like:
DB.Execute "INSERT INTO Table1(Myfield) VALUES(' & OLE1.Object & "')"
But it gives me an error saying "Object doesn't support this property or Method". How can I do this, anyone knows what am I missing here?
Thanks.