Open Method



 
The Open method opens a query that returns a result.


Syntax

    DatabaseQuery.Open(query)
    
Parameters
    query String that specifies the query.
Return Value
    None.
Remarks
    Use the other methods of this object to access the result.
Examples
    The following example opens a database query and displays the last returned row.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    dbquery = SiteCafe.Server.CreateDatabaseQuery();
    dbquery.Open("SELECT * FROM users");
    dbquery.MoveLast();
    alert(dbquery.GetRowData());
    </SCRIPT>
    

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

Back to top