home *** CD-ROM | disk | FTP | other *** search
- object FormTableLookup: TFormTableLookup
- Left = 296
- Top = 180
- Width = 620
- Height = 368
- Caption = 'Table with fast Lookups'
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- OnCreate = FormCreate
- PixelsPerInch = 96
- TextHeight = 13
- object Label1: TLabel
- Left = 480
- Top = 292
- Width = 83
- Height = 13
- Caption = 'Sort-Order (Index)'
- end
- object DBGrid1: TDBGrid
- Left = 8
- Top = 8
- Width = 465
- Height = 321
- DataSource = SrcMain
- TabOrder = 0
- TitleFont.Color = clWindowText
- TitleFont.Height = -11
- TitleFont.Name = 'MS Sans Serif'
- TitleFont.Style = []
- end
- object Adr_PersID: TDBLookupListBox
- Left = 480
- Top = 8
- Width = 129
- Height = 134
- DataField = 'Adr_PersID'
- DataSource = SrcMain
- KeyField = 'Pers_ID'
- ListField = 'Pers_ID;Pers_LastName'
- ListSource = SrcLook
- TabOrder = 1
- end
- object DBLookupComboBox1: TDBLookupComboBox
- Left = 480
- Top = 172
- Width = 129
- Height = 21
- DataField = 'Adr_PersID'
- DataSource = SrcMain
- KeyField = 'Pers_ID'
- ListField = 'Pers_LastName'
- ListSource = SrcTrans
- TabOrder = 2
- end
- object DropIndexList: TComboBox
- Left = 480
- Top = 308
- Width = 129
- Height = 21
- Style = csDropDownList
- Ctl3D = False
- ItemHeight = 13
- ParentCtl3D = False
- TabOrder = 3
- OnClick = DropIndexListClick
- end
- object TblMain: TTable
- DatabaseName = 'DBDemo'
- SessionName = 'Demo'
- IndexName = 'Adr_Street'
- TableName = 'Address'
- Left = 392
- Top = 4
- object TblMainAdr_ID: TAutoIncField
- FieldName = 'Adr_ID'
- Visible = False
- end
- object TblMainAdr_PersID: TIntegerField
- DisplayWidth = 6
- FieldName = 'Adr_PersID'
- end
- object TblMainAdr_Street: TStringField
- DisplayWidth = 20
- FieldName = 'Adr_Street'
- Size = 50
- end
- object TblMainAdr_ZIP: TStringField
- DisplayWidth = 7
- FieldName = 'Adr_ZIP'
- Size = 19
- end
- object TblMainAdr_Place: TStringField
- DisplayWidth = 16
- FieldName = 'Adr_Place'
- Size = 50
- end
- object TblMainAdr_Country: TStringField
- DisplayWidth = 16
- FieldName = 'Adr_Country'
- Size = 30
- end
- end
- object SrcMain: TDataSource
- DataSet = TblMain
- Left = 424
- Top = 4
- end
- object TblLookList: TTable
- DatabaseName = 'DBDemo'
- SessionName = 'Demo'
- ReadOnly = True
- TableName = 'Person'
- Left = 520
- Top = 4
- end
- object SrcLook: TDataSource
- DataSet = TblLookList
- Left = 552
- Top = 4
- end
- object TblLookCombo: TTable
- DatabaseName = 'DBDemo'
- SessionName = 'Demo'
- IndexName = 'Pers_LastName'
- TableName = 'Person'
- Left = 524
- Top = 168
- end
- object SrcTrans: TDataSource
- DataSet = TblLookCombo
- Left = 556
- Top = 168
- end
- end
-