# MoveLast Method The MoveLast method moves to the last row of the currently opened query. Syntax
    DatabaseQuery.MoveLast()
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();
    alert(dbquery.GetRowData());
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top