home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Delphi Programming Unleashed
/
Delphi_Programming_Unleashed_SAMS_Publishing_1995.iso
/
chap01
/
twoquery
/
main.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1995-03-20
|
1KB
|
67 lines
unit Main;
interface
uses
SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
StdCtrls, Forms, DBCtrls, DB, DBGrids, DBTables, Grids, Mask, ExtCtrls;
type
TForm1 = class(TForm)
ScrollBox: TScrollBox;
Label1: TLabel;
EditCustNo: TDBEdit;
Label2: TLabel;
EditCompany: TDBEdit;
Label3: TLabel;
EditAddr: TDBEdit;
Label4: TLabel;
EditAddr2: TDBEdit;
Label5: TLabel;
EditCity: TDBEdit;
Label6: TLabel;
EditState: TDBEdit;
Label7: TLabel;
EditZip: TDBEdit;
Label8: TLabel;
EditCountry: TDBEdit;
Label9: TLabel;
EditPhone: TDBEdit;
Label10: TLabel;
EditFAX: TDBEdit;
Label11: TLabel;
EditTaxRate: TDBEdit;
Label12: TLabel;
EditContact: TDBEdit;
Label13: TLabel;
EditLastInvoiceDate: TDBEdit;
DBGrid1: TDBGrid;
DBNavigator: TDBNavigator;
Panel1: TPanel;
DataSource1: TDataSource;
Panel2: TPanel;
Panel3: TPanel;
Table1: TTable;
Table2: TTable;
DataSource2: TDataSource;
procedure FormCreate(Sender: TObject);
private
{ private declarations }
public
{ public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.DFM}
procedure TForm1.FormCreate(Sender: TObject);
begin
Table1.Open;
Table2.Open;
end;
end.