ColumnCount
For a given table, this function will contain the number of parameters or columns as they appear when downloaded.
Group: Embedded Procedure Object
Syntax: vValue = emProc.ColumnCount(vParamId)
vValue (Variant) contains the number of columns or parameters in the specified table.
vParamId (Variant) the name of the table usually referred to by name and in double quotes.
Example:
Dim nValue As Long
nValue = emProc.ColumnCount("RETURN")