Close Method



 
The Close method closes an opened query.


Syntax

    DatabaseQuery.Close()
    
Return Value
    None.
Remarks
    None.
Examples
    The following example opens and closes 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());
    dbquery.Close();
    </SCRIPT>
    

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

Back to top