RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataSetAdapter.RaiseFieldNotFound Method

Raises an EAdapterException with a message indicating that a specified field could not be found.

Pascal
procedure RaiseFieldNotFound(const AFieldName: string);
C++
__fastcall RaiseFieldNotFound(const AnsiString AFieldName);

RaiseFieldNotFound raises an EAdapterException for the situation where the request needs to perform some action on a specified field in the dataset and can't locate the specified field. For example, this method is called when the current request tries to update a field and the dataset does not include a field with the specified name. 

AFieldName is the name of the field that can't be located. It is used to generate an error message for the exception. 

 

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