| FormDataEvent Event | |
| See Also Example |
- BusinessObjectInfo
- The object that holds the event information
- BubbleEvent
Indicates how the application handles the event. Relevant only when BusinessObjectInfo.BeforeAction is true.
- True: The application performs the form action (default).
- False: The application does not perform the form action.
Occurs when the application performs the following actions on forms connected to business objects:
- Add
- Update
- Delete
- Load form data via browse, link button, or find
The event provides the unique ID (BusinessObjectInfo.ObjectKey) of the modified business object. Use this as an input object to the DI API DataBrowser.GetByKeys method to get a DI object.
Note: You can also use this feature in the UDO new default forms with the header-line style.
| Visual Basic |
|---|
Public Event FormDataEvent( _
ByVal BusinessObjectInfo As BusinessObjectInfo, _
ByRef BubbleEvent As Boolean _
) |
- BusinessObjectInfo
- The object that holds the event information
- BubbleEvent
Indicates how the application handles the event. Relevant only when BusinessObjectInfo.BeforeAction is true.
- True: The application performs the form action (default).
- False: The application does not perform the form action.
The event occurs only for forms connected to a business object.
The application does not send this event when the business object is modified by another application, DI action, or add-on action.
The BusinessObjectInfo.ObjectKey property returns an empty value in the following cases:
- Business objects that are not exposed in the DI API.
- In the before notification of the Add action (et_FORM_DATA_ADD).
- In the before notification of the Load action (et_FORM_DATA_LOAD) triggered by a Find operation.
| Catching UDO Form Data Events (C#) | Copy Code | |
|---|---|---|
| ||
| Catching form data events (C#) | Copy Code | |
|---|---|---|
| ||