Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB and Access OLE

Status
Not open for further replies.

JohnBoy2005

Programmer
Jul 12, 2005
117
GB
I have an Access database with a table that contains an OLE Object field. This field contains pictures, jpg's, gif's and bmp's

I have a routine in VB that adds the picture to the OLE field, but I want to know how I can bring the OLE field data into an array, for example

for x = 1 to rstTemp.RecordCount
strName(x) = rstTemp("Name")
strAge(x) = rstTemp("Age")
objPicture(x) = rstTemp("Object") ' this is in theory, I know it isn't as simple as that.
next x

Any help will be much appreciated.

Cheers

John
 
why do you kneed to put it into an array?
these are objects and it will fill the memory so fast it is unbeliveable type putting a pointer into an array then use the pointer to referance to the ole recordset then do the modification to it in that state
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top