RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataSetAdapter.AdapterRowNotFound Property

Indicates the dataset adapter for which this adapter could not locate the current record.

Pascal
property AdapterRowNotFound: TCustomDataSetAdapter;
C++
__property TCustomDataSetAdapter AdapterRowNotFound;

In the course of its normal operation, the dataset adapter often has to position this dataset on a specified record (such as the record to update in response to an update request). When the adapter positions itself in this way, it also positions all other dataset adapters that are linked to it in a master/detail relationship. If the adapter fails in its attempt to position all dataset adapters as specified, it sets AdapterRowNotFound to the first dataset adapter (starting at the master of all detail datasets) that can't be correctly positioned. 

The RaiseRowNotFound method uses this property to generate an error message when an attempt to position the dataset adapters fails. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!