{************************************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ InterBase Express core components }
{ }
{ Copyright (c) 1998-2001 Borland Software Corporation }
{ }
{ InterBase Express is based in part on the product }
{ Free IB Components, written by Gregory H. Deatz for }
{ Hoagland, Longo, Moran, Dunst & Doukas Company. }
{ Free IB Components is used under license. }
{ }
{ The contents of this file are subject to the InterBase }
{ Public License Version 1.0 (the "License"); you may not }
{ use this file except in compliance with the License. You may obtain }
{ a copy of the License at http://www.borland.com/interbase/IPL.html }
{ Software distributed under the License is distributed on }
{ an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either }
{ express or implied. See the License for the specific language }
{ governing rights and limitations under the License. }
{ The Original Code was created by InterBase Software Corporation }
{ and its successors. }
{ Portions created by Borland Software Corporation are Copyright }
{ (C) Borland Software Corporation. All Rights Reserved. }
{ Contributor(s): Jeff Overcash }
{ }
{************************************************************************}
unit IBSQL;
interface
uses
Windows, SysUtils, Classes, Forms, Controls, IBHeader,
IBErrorCodes, IBExternals, DB, IB, IBDatabase, IBUtils, IBXConst;
type
TIBSQL = class;
TIBXSQLDA = class;
{ TIBXSQLVAR }
TIBXSQLVAR = class(TObject)
private
FParent: TIBXSQLDA;
FSQL: TIBSQL;
FIndex: Integer;
FModified: Boolean;
FName: String;
FXSQLVAR: PXSQLVAR; { Point to the PXSQLVAR in the owner object }
FMaxLen : Short; (** length of data area **)
function AdjustScale(Value: Int64; Scale: Integer): Double;
function