Firing Application Events

This table provides details about:

  • Where application events can be generated from (Tier)
  • What can be used to generate the application events from that location (Triggered by)
  • How to set up the application events (Details for construction)
  • Whether the application event is generated as a synchronous or asynchronous event (Synchronous?)
Tier Triggered by Details for construction Synchronous?
Client Event handler in form Use the Generate Application Event response type, then select the Synchronous option. Yes
Use the Generate Application Event response type, then clear the Synchronous option. No
Script in form

Generate a custom form event.

Create a form event handler for that custom event with Generate Application Event response type with the SYNCHRONOUS( ) parameter.

Yes

Generate a custom form event.

Create a form event handler for that custom event with Generate Application Event response type without the SYNCHRONOUS( ) parameter.

No
Middle Custom IDO method Invoke the FireApplicationEvent( ) .NET method with the Synchronous parameter passed in with a value of True. Yes
Invoke the FireApplicationEvent( ) .NET method with the Synchronous parameter passed in with a value of False. No
Database T-SQL Use the EXEC PostEventSp command. No
Any An event action Use the GenerateEvent action type with SYNCHRONOUS(true) parameter. Yes
Use the GenerateEvent action type with SYNCHRONOUS(false) parameter. No
An event trigger Select the Synchronous option. Yes
Clear the Synchronous option. No