CreateDatabaseQuery Method



 
The CreateDatabaseQuery method creates a database query object.


Syntax

    [obj=] SiteCafe.Server.CreateDatabaseQuery()
    
Return Value Remarks
    None.
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