Callback_agg_convert_event_field()

Top  Previous  Next

Description:

Callback procedure, invoked every time a stored A-event is being extracted from the log and sent to the server. Provides an opportunity to change the value or type of A-event fields before sending the stored A-event to the server.

Procedure body has to be created elsewhere in the project (externally with respect to the library).

Syntax:

declare sub callback_agg_convert_event_field(byref table_name as string, byref field_name as string, byref field_value as string)

Returns:

---

See Also:

Handling Stored A-events

Callback_agg_convert_setting()

 


Part

Description

table_name

The name of the stored A-event (and the log table which stores it).

field_name

The name of the field.

field_value

The value of the field.

Details

For every stored A-event being sent to the server, this procedure will be called separately for each event's field.

 

Type/value conversion possibility also exists for setting A-variables (see callback_agg_convert_setting()) but not for table A-variables. Tables must be stored in exactly the same way that the AggreGate server "believes" them to be stored. This is because table synchronization is based on hash strings.