Agg_record_decode()

Top  Previous  Next

Description:

API procedure, extracts the value of the specified argument from the encoded string containing the values of all arguments for an A-function.

Syntax:

function agg_record_decode(byref encode_string as string, field_index as byte) as string

Returns:

The specified argument's value

See Also:

Adding A-functions

 


Part

Description

encode_string

The argument string sent by the server.

field_index

The index (counting from 0) of the argument that needs to be extracted.

Details

Only works for argument strings containing simple single-value arguments. Need to pass complex arguments containing entire tables? Write your own decoder. String format is described here:

http://aggregate.tibbo.com/docs/en/ap_data_tables_encoding.htm