MovePrev Method



 
The MovePrev method moves to the previous row of the currently opened query.


Syntax

    DatabaseQuery.MovePrev()
    
Return Value
    None.
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();
    dbquery.MoveFirst();
    dbquery.MovePrev();
    alert(dbquery.GetRowData());
    </SCRIPT>
    

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

Back to top