RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataSetAdapter.RaiseRowNotFound Method

Raises an EAdapterException with a message indicating that a dataset record could not be located based on the current set of key fields.

Pascal
procedure RaiseRowNotFound;
C++
__fastcall RaiseRowNotFound();

RaiseRowNotFound raises an EAdapterException for the situation where the adapter was unable to locate a record. This can arise, for example, when another user has deleted a record or changed a key field value. The problem record may belong to this adapter's dataset or to another dataset that is linked to it in a master/detail relationship. RaiseRowNotFound uses the AdapterRowNotFound property to indicate the name of the adapter whose dataset could not be positioned on a specified row. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!