IbEmpF.pas
上传用户:fh681027
上传日期:2022-07-23
资源大小:1959k
文件大小:2k
源码类别:

Delphi控件源码

开发平台:

Delphi

  1. unit IbEmpF;
  2. interface
  3. uses
  4.   SysUtils, Windows, Messages, Classes, Graphics, Controls,
  5.   StdCtrls, Forms, DBCtrls, DB, DBTables, Mask, ExtCtrls, IBDatabase,
  6.   IBCustomDataSet, IBQuery, IBSQL;
  7. type
  8.   TFormEmp = class(TForm)
  9.     ScrollBox: TScrollBox;
  10.     DBNavigator: TDBNavigator;
  11.     Panel1: TPanel;
  12.     DataSource1: TDataSource;
  13.     Panel2: TPanel;
  14.     IBQuery1: TIBQuery;
  15.     IBDatabase1: TIBDatabase;
  16.     IBTransaction1: TIBTransaction;
  17.     IBQuery1EMP_NO: TIntegerField;
  18.     IBQuery1FIRST_NAME: TIBStringField;
  19.     IBQuery1LAST_NAME: TIBStringField;
  20.     IBQuery1PHONE_EXT: TIBStringField;
  21.     IBQuery1HIRE_DATE: TDateTimeField;
  22.     IBQuery1DEPT_NO: TIBStringField;
  23.     IBQuery1JOB_CODE: TIBStringField;
  24.     IBQuery1JOB_GRADE: TIntegerField;
  25.     IBQuery1JOB_COUNTRY: TIBStringField;
  26.     IBQuery1SALARY: TFloatField;
  27.     IBQuery1FULL_NAME: TIBStringField;
  28.     Label1: TLabel;
  29.     DBEdit1: TDBEdit;
  30.     Label2: TLabel;
  31.     DBEdit2: TDBEdit;
  32.     Label3: TLabel;
  33.     DBEdit3: TDBEdit;
  34.     Label4: TLabel;
  35.     DBEdit4: TDBEdit;
  36.     Label5: TLabel;
  37.     DBEdit5: TDBEdit;
  38.     Label6: TLabel;
  39.     DBEdit6: TDBEdit;
  40.     Label7: TLabel;
  41.     DBEdit7: TDBEdit;
  42.     Label8: TLabel;
  43.     DBEdit8: TDBEdit;
  44.     Label9: TLabel;
  45.     DBEdit9: TDBEdit;
  46.     Label10: TLabel;
  47.     DBEdit10: TDBEdit;
  48.     Label11: TLabel;
  49.     DBEdit11: TDBEdit;
  50.     procedure FormCreate(Sender: TObject);
  51.   private
  52.     { private declarations }
  53.   public
  54.     { public declarations }
  55.   end;
  56. var
  57.   FormEmp: TFormEmp;
  58. implementation
  59. {$R *.DFM}
  60. procedure TFormEmp.FormCreate(Sender: TObject);
  61. begin
  62.   IBQuery1.Open;
  63. end;
  64. end.