Consultor Eletrônico



Kbase P107812: How to select a record in a SmartDataObject using the RowID
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   26/09/2005
Status: Unverified

GOAL:

How to select a record in a SmartDataObject using the RowID

GOAL:

How to reposition a SmartDataObject to a given record using the RowID

GOAL:

How to point a SmartDataObject to a given record without reopening the query

FIX:

A record can be selected from a SmartObject whether it has already been retrieved from the database and is in the RowObject temp-table or whether the SmartDataObject must go back to the database to fetch the record by using the following code:

DYNAMIC-FUNCTION('fetchRowIdent' IN YourSDO, StringContainingRequestedRowID, '*')

FIX:


References to Written Documentation:
OpenEdge Development: ADM Reference, Query Objects and Their Methods and Properties, Methods for data query objects, "fetchRowIdent"