[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'sqldb' (#fcl)

ESQLDatabaseError.CreateFmt

Create a new instance of ESQLDatabaseError

Declaration

Source position: sqldb.pp line 76

public constructor ESQLDatabaseError.CreateFmt(

  const Fmt: string;

  const Args: array of Const;

  Comp: TComponent;

  AErrorCode: Integer;

  ASQLState: string

); overload;

Arguments

Fmt

  

Format string

Args

  

Arguments for format string

Comp

  

Component raising the error

AErrorCode

  

Native client error code

ASQLState

  

Native client SQL reported state

Description

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

See also

ESQLDatabaseError.ErrorCode

  

SQL engine error code

ESQLDatabaseError.SQLState

  

ANSI SQL error state


Documentation generated on: Nov 14 2015