QueryGetCell

return the value of a specific query cell

QueryGetCell( query, column_name [, row_number ] )

Returns: any

Argument Description Default
query
query, required

query to get cell value from

column_name
string, required

name of the column

row_number
number, optional

row number (1-n)

-9999

Examples

qry=queryNew("aaa");
QueryAddRow(qry);
	QuerySetCell(qry,"aaa","a");
QueryAddRow(qry);
	QuerySetCell(qry,"aaa","b");
writeDump(QueryGetCell(qry,"aaa"));
writeDump(QueryGetCell(qry,"aaa",1));

See also