home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip: Shareware for Win 95
/
Chip-Shareware-Win95.bin
/
ostatni
/
delphi
/
delphi2
/
seldlg.exe
/
32BIT
/
FSDDEMO.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1996-10-16
|
2KB
|
76 lines
unit Fsddemo;
interface
uses
SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
Forms, Dialogs, DB, DBTables, Grids, DBGrids, DBCtrls,
ExtCtrls, StdCtrls, TabNotBk, Buttons, Seldlg, ComCtrls;
type
TFormSelectDialog = class(TForm)
TabbedNotebook1: TTabbedNotebook;
Label1: TLabel;
Label2: TLabel;
Label4: TLabel;
Panel1: TPanel;
Label5: TLabel;
Panel2: TPanel;
Label10: TLabel;
DBNavigator1: TDBNavigator;
DBGrid1: TDBGrid;
Label11: TLabel;
TablePersonnel: TTable;
DSPersonnel: TDataSource;
TablePersonnelLastName: TStringField;
TablePersonnelHireDate: TDateTimeField;
TablePersonnelFirstName: TStringField;
Label12: TLabel;
Label13: TLabel;
SelectDialog1: TSelectDialog;
SelectDialog2: TSelectDialog;
SelectDialog3: TSelectDialog;
LookupDialog1: TLookupDialog;
TableDept: TTable;
DSDept: TDataSource;
TableDeptDepartmentID: TStringField;
TableDeptManagerID: TStringField;
TableDeptDescription: TStringField;
TableDeptOperatingCost: TCurrencyField;
TableDeptStaffTurnover: TFloatField;
TableDeptStaffSize: TSmallintField;
TableDeptDateEstablished: TDateField;
TableDeptOwnerDept: TStringField;
TablePersonnelEmpNo: TStringField;
TablePersonnelPhoneExt: TStringField;
TablePersonnelSalary: TFloatField;
TablePersonnelBoss: TStringField;
procedure FormCreate(Sender: TObject);
procedure FormDestroy(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
FormSelectDialog: TFormSelectDialog;
implementation
{$R *.DFM}
procedure TFormSelectDialog.FormCreate(Sender: TObject);
begin
TablePersonnel.Open;
TableDept.Open;
end;
procedure TFormSelectDialog.FormDestroy(Sender: TObject);
begin
TablePersonnel.Close;
TableDept.Close;
end;
end.