Updating objects by document
About this task
You can create an object or custom control in a form and let documents created with the form update the object or custom control. A user can change the OLE object or custom control and save those changes with the document. The OLE object or custom control in the form does not overwrite the revised OLE object or custom control in the document.
To modify properties using the properties box
Procedure
- Open the form and click the object or custom control.
- Choose Edit - Properties.
- In the properties box, choose "Update object from document."
- Close the properties box.
- Save and close the form.
To modify properties using the properties sheet in the Programmer's pane
Procedure
- Open the form and click the object or custom control. The properties for the object or control display in the Programmer's pane.
- Select the property UpdateFromDocument and double-click to toggle the value to TRUE.
- Save and close the form.