Count Property



 
The Count property contains the number of values.


Syntax

    [long=] Values.Count
    
Possible Values
    Long value that retrieves the number of values.

    The property is read only.
Remarks
    None.
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