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

  1. Open the form and click the object or custom control.
  2. Choose Edit - Properties.
  3. In the properties box, choose "Update object from document."
  4. Close the properties box.
  5. Save and close the form.

To modify properties using the properties sheet in the Programmer's pane

Procedure

  1. Open the form and click the object or custom control. The properties for the object or control display in the Programmer's pane.
  2. Select the property UpdateFromDocument and double-click to toggle the value to TRUE.
  3. Save and close the form.