The way the OLE Object control holds the OLE object. You can restrict the container to only embedded or only linked objects, or you can allow either type.
OLE Object controls
Describe and Modify argument:
"olecontrolname.ContentsAllowed { = ' contentstype ' }"
Parameter |
Description |
---|---|
olecontrolname |
The name of the OLE Object control for which you want to get or set the type of contents. |
contentstype |
A number specifying whether the OLE object in the control has to be embedded, has to be linked, or can be either embedded or linked. Values are:
|
Select the control and set the value in the Properties view, Options tab, Contents option.
ls_data = dw1.Describe("ole_report.ContentsAllowed")
dw1.Modify("ole_report.ContentsAllowed='2'")