Progress
ADM 2 Reference
fetchRowIdent (data.p)
Repositions the RowObject’s query to the desired row, based on the corresponding database record ROWID (specified by pcRowIdent), and returns that row’s values (as specified in pcViewColList). The return value is a CHR(1)-delimited list of values (formatted according to each column’s FORMAT expression.) The first value in the list is the RowIdent of the fetched row. If that row is not in the RowObject table, it repositions the database query to that row and resets the RowObject table.
Parameters:INPUT pcRowIdent AS CHARACTER
The desired rowids within the result set, expressed as a comma-separated list of database rowids.
INPUT pcViewColList AS CHARACTER
Comma-separated list of names of columns to be returned.
Returns: CHARACTERNotes: If called with unknown or nonexisting rowid the query is closed and the SDO will be in a bad state (fetchNext and Prev do not work). The application needs to call fetchRowident with a valid value or fetchFirst, fetchLast, or openQuery to get back to normal.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |