The DocReturn Object

The DocReturn object is returned by an OnLoad or OnSubmitRequest event.

The properties of the DocReturn object allow access to the underlying XML document and indicate whether the OnLoad or OnSubmitRequest event was successful.

DocReturn Object Methods

The DocReturn event has no methods.

DocReturn Object Properties

The DocReturn object has two properties:

  • ReturnStatus— A Boolean that indicates whether the OnLoad or OnSubmitRequest event was successful. Security level 2.

  • XDocument— Can be used to programmatically interact with the data in a form template's underlying XML.

Get Microsoft® Office InfoPath™ 2003 Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.