DataRequest - Completed Event

Fired when the Webroutine request completes successfully

Member of DataRequest (PRIM_WEB.DataRequest)

Details

The Completed event is fired when the SrvRoutine in the Server Module is completed successfully.

Example

In this example, a request is submitted asynchronously. When completed, the returned data is added to a list on the screen.
Mthroutine Name(GetData)
 
   Define_Com Class(#MyServerModule.GetData) Name(#GetData)
 
   #GetData.ExecuteAsync(#DataList)
 
   Evtroutine Handling(#GetData.Completed)
 
      SelectList Named(#Datalist)
         Add_entry To_list(#UIList)
      Endselect
 
   Endroutine
 
Endroutine

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2