Release 10.1A: OpenEdge Development:
ADM Reference

> ## updateQueryPosition

> Procedure resets the QueryPosition property after a record navigation. The main purpose of this function is to eliminate duplication and errors and minimize messaging (setQueryPosition PUBLISHes) in fetchFirst, fetchPrev, fetchNext, and fetchLast.

> Location: data.p

> Parameters: None

> Notes:

> - `data.p` should update LastRowNum, FirstRowNum, and LastDbRowIdent properties and call the reset function.

> - The properties LastRowNum and FirstRowNum stores the RowObject.RowNum of the first and last record in the database query.

> - The LastDbRowIdent is updated at openQuery() if CheckLastOnOpen is TRUE and enables identification of the last record in cases where LastRowNum has not yet been updated.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095