RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomSQLDataSet.LastError Property

Saves the error message for the last error returned by dbExpress.

Pascal
property LastError: TDBXError;
C++
__property TDBXError LastError;

When the SQL dataset encounters an error in a call to dbExpress, it caches the error message. This allows it to continue until it is in an appropriate state to raise the associated exception. The message is used to raise an exception with the error message when it is safe to do so. 

 

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