Hello,
I am attempting to display an OLE object in Access2000 in an ole object (ole1) on a VB6 form. I have been using the code below and it comes up with error messages stating “Item no found in this collection” or “Type Mismatch” when I run it, can somebody please let me know how I need to change the code to get it to work.
Set rs = daoDB36.OpenRecordset("SELECT DetailsIndex.Surname, DetailsIndex.Image FROM MemberDetails INNER JOIN DetailsIndex ON MemberDetails.Member_ID = DetailsIndex.Member_ID"
Text2 = "" & rs!Surname
Ole1 = "" & rs!image
Thank You
I am attempting to display an OLE object in Access2000 in an ole object (ole1) on a VB6 form. I have been using the code below and it comes up with error messages stating “Item no found in this collection” or “Type Mismatch” when I run it, can somebody please let me know how I need to change the code to get it to work.
Set rs = daoDB36.OpenRecordset("SELECT DetailsIndex.Surname, DetailsIndex.Image FROM MemberDetails INNER JOIN DetailsIndex ON MemberDetails.Member_ID = DetailsIndex.Member_ID"

Text2 = "" & rs!Surname
Ole1 = "" & rs!image
Thank You