QueryColumnCount()

column count of given query

QueryColumnCount( query=query );

Returns: Number

Argument Description
query
query, required

Query object to get data from.

Examples

qry=queryNew("aaa,bbb,ccc,ddd,eee");

QueryAddRow(qry); QuerySetCell(qry,"aaa","sss"); QueryAddRow(qry,3); QuerySetCell(qry,"aaa",(1)); QueryAddRow(qry,1);

writeDump(queryColumnCount(qry));

See also