View Full Version : Inserting image to an OLE Object field in a recordset


sldung
12-15-2001, 05:42 PM
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