# 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.
Members
Properties | Description
Count | Contains the number of values.
Methods | Description
Item | Returns one item of the collection.
Remarks This object is returned by the GetValueArray method. Use the Values collection to receive the single values of a queried row. Examples The following example queries for a single row and displays its single values.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    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));
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top