Returns the element in the specified row/column position.
object.getField(row,col)
| Parameter | Description |
|---|---|
|
object |
Instance name of the WddxRecordset object |
|
row |
Integer; zero-based row number of the value to return |
|
col |
Integer or string; column of the value to be returned. |
Returns the value in the specified row/column position.
Call this function to access a value in a WDDX record set.
This example calls the getField function (the variable r is a reference to a WddxRecordset instance):
for (row = 0; row < nRows; ++row)
{
o += "<tr>";
for (i = 0; i < colNames.length; ++i)
{
o += "<td>" + r.getField(row, colNames[i]) + "</td>";
}
o += "</tr>";
}