You add an OLE object to a form by clicking the OLE Container Control tool and dragging it to size in the Form window. This tool can represent a server object such as Microsoft Excel or Word, or it can represent an ActiveX control if your Windows SYSTEM directory contains ActiveX controls (files with an .ocx extension). For general information about ActiveX controls, see Sharing Information and Adding OLE.
OLE Bound Control
You can create a bound OLE object on a form by clicking this tool and dragging it to size in the Form window. After creating the object, you connect it to a General field in a table. Then, you use the object to display the contents of the field. For example, if you store Word documents in a General field, you can display the contents of these documents by using a bound OLE object on a form.
To create a bound OLE object
-
Create or open a form.
-
In the Form Controls toolbar, choose the OLE Bound Control button and drag it to size on the form.
-
Bind the OLE object to a General field by setting the object's ControlSource property.
For an example of using the OLE Bound control, see Sharing Information and Adding OLE.