wwAsyncWebRequest::LoadEvent

This method retrieves an event by its ID and loads the oEvent member. This method is called by all other methods that have EventId parameters.

Typically you won't call this method directly, but in basic form you can use LoadEvent() and SaveEvent() to manually manage all event processing directly.

o.LoadEvent(lcID)

Return Value

.t. or .f.

Parameters

lcID
Event Id to retrieve

Example

IF !loAsync.LoadEvent(lcID)
   RETURN 
ENDIF

loAsync.SetProperty("Name","Rick")
loAsync.SetProperty("Time",DateTime())
loAsync.oEvent.UserID = "rstrahl"
loAysnc.oEvent.InputData = lcXML

loAsync.SaveEvent()

See also:

Class wwAsyncWebRequest

© West Wind Technologies, 1996-2024 • Updated: 03/24/01
Comment or report problem with topic