Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access thread: Inserting image to an OLE Object field in a recordset


Message #1 by "Shiang-Lung Dung" <shiang@s...> on Sun, 16 Dec 2001 02:57:45
Deal All,

How can I insert images to an OLE Object field (called Image) in a 

recordset from file paths (in another text field called Path) using VBA? I 

have tried rst![Image] = LoadPicture(rst!Path) and got 3421 Data Type 

Conversion Error. When I tried Set rst![Image] = LoadPicture(rst!Path) I 

got Compile Error Invalid Use of Property. Thank you for your help.



Shiang-Lung Dung

  Return to Index