⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 script language
💻 TXT
字号:
Wrapper class for using DbIsam with Delphi WebScript.
By Wilbert van Leijen (w.vanleijen@ksu.nl)

For more information on DbIsam, visit ElevateSoft's website: www.elevatesoft.com

For a working demo, see: www.ksu.nl/Scripts/swissteam.dws
(The script's source code is included.)

The following classes are exported from this unit:

  TDBIsamQuery = class
    constructor Create(Databasename, SQL : String);
    procedure First;
    procedure Next;
    procedure Prior;
    procedure Last;
    procedure Append;
    procedure Insert;
    procedure Edit;
    procedure Delete;
    procedure Cancel;
    procedure Post;
    function BOF : Boolean;
    function EOF : Boolean;
    function FieldByName(Name : String) : Variant;
    procedure Store(FieldName : String; Value : Variant);
    function AsString(FieldName : String) : String;
    function AsFloat(FieldName : String) : Float;
    function AsInteger(FieldName : String) : Integer;
    function AsBoolean(FieldName : String) : Boolean;
    function AsDateTime(FieldName : String) : DateTime;
    class procedure Execute(Alias : String; SQL : String);
    function Locate(KeyFields : String; KeyValues : Variant) : Boolean;
    function IsEmpty : Boolean;
    function RecNo : Integer;
    function RecordCount : Integer;
  end;
  
  TDBIsamTable = class
    constructor Create(Databasename, TableName : String);
    procedure First;
    procedure Next;
    procedure Last;
    procedure Prior;
    procedure Append;
    procedure Insert;
    procedure Edit;
    procedure Delete;
    procedure Cancel;
    procedure Post;
    function BOF : Boolean;
    function EOF : Boolean;
    function Locate(KeyFields : String; KeyValues : Variant) : Boolean;
    function FieldByName(Name : String) : Variant;
    procedure Store(FieldName : String; Value : Variant);
    function AsString(FieldName : String) : String;
    function AsFloat(FieldName : String) : Float;
    function AsInteger(FieldName : String) : Integer;
    function AsBoolean(FieldName : String) : Boolean;
    function AsDateTime(FieldName : String) : DateTime;
    function IsEmpty : Boolean;
    property IndexName : String;
    property Filter : String;
    function RecNo : Integer;
    function RecordCount : Integer;
  end;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -