odbc_num_fields
Number of columns in a result
&reftitle.description;
intodbc_num_fields
resourceresult_id
Gets the number of fields (columns) in an ODBC result.
&reftitle.parameters;
result_id
The result identifier returned by odbc_exec.
&reftitle.returnvalues;
Returns the number of fields, or -1 on error.