Values Collection

The Values collection contains the single values of a queried row.

Members Table

    The following table lists the members provided by the Values collection.

    Properties Description
    Count Contains the number of values.
    Methods Description
    Item Returns one item of the collection.

    This object is returned by the GetValueArray method. Use the Values collection to receive the single values of a queried row.

    The following example queries for a single row and displays its single values.

    <SCRIPT TYPE="text/javascript">
    dbquery = SiteCafe.Server.CreateDatabaseQuery();
    val = dbquery.GetValueArray('SELECT * FROM users WHERE name = "user2"');
    for (var i = 1; i <= val.Count; i++) alert(val.Item(i));

Applies to
    SiteKiosk v6.2 (and later versions).

Back to top