MoveFirst Method



 
The MoveFirst method moves to the first row of the currently opened query.


Syntax

    DatabaseQuery.MoveFirst()
    
Return Value
    None.
Remarks
    None.
Examples
    The following example opens a database query and displays the first returned row.

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

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

Back to top