Bde.DBTables.Check

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Bde.DBTables.pas
Bde.DBTables.hpp
Unit: Bde.DBTables
Parent: Bde.DBTables

Delphi

procedure Check(Status: DBIResult);

C++

extern DELPHI_PACKAGE void __fastcall Check(Bde::DBIResult Status);

Description

Determines whether a value returned from the Borland Database Engine (BDE) represents an error condition.

Pass the return code from a direct BDE API call as the Status parameter when calling Check. Check determines whether Status indicates an error condition, and if so, calls DbiError to raise an exception.

See Also