Skip to content

ESQLDatabaseError.CreateFmt

Create a new instance of ESQLDatabaseError.

Declaration

Source position: sqldb.pp line 127

public 
constructor ESQLDatabaseError.CreateFmt(const Fmt: string; 
                                       const Args: Array of const; 
                                       Comp: TComponent; 
                                       AErrorCode: Integer; 
                                       const ASQLState: string)
                                       ;  overload; overload;

Description

CreateFmt is overloaded in ESQLDatabaseError to be able to specify the ErrorCode and SQLState.

See also

Name Description
ESQLDatabaseError.ErrorCode SQL engine error code.
ESQLDatabaseError.SQLState ANSI SQL error state.