home *** CD-ROM | disk | FTP | other *** search
- object FormFastFind: TFormFastFind
- Left = 278
- Top = 162
- Width = 486
- Height = 483
- Caption = 'DBControlGrid with fast Find'
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- OnCreate = FormCreate
- PixelsPerInch = 96
- TextHeight = 13
- object Label1: TLabel
- Left = 292
- Top = 352
- Width = 171
- Height = 39
- Caption =
- 'This lookup test shows the firstname to a given lastname using a' +
- ' VCL method.'
- Font.Color = clBlack
- Font.Height = -11
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- ParentFont = False
- WordWrap = True
- end
- object Label2: TLabel
- Left = 292
- Top = 396
- Width = 162
- Height = 52
- Caption =
- #39'FindFirst'#39' searches the first record matching the given SQL-con' +
- 'dition using early-bound and late-bound direct DAO access.'
- Font.Color = clBlack
- Font.Height = -11
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- ParentFont = False
- WordWrap = True
- end
- object Label3: TLabel
- Left = 64
- Top = 420
- Width = 55
- Height = 13
- Caption = 'early-bound'
- end
- object Label4: TLabel
- Left = 8
- Top = 420
- Width = 50
- Height = 13
- Caption = 'late-bound'
- end
- object DBNavigator1: TDBNavigator
- Left = 8
- Top = 4
- Width = 240
- Height = 25
- DataSource = SrcComp
- TabOrder = 0
- end
- object DBCtrlGrid1: TDBCtrlGrid
- Left = 8
- Top = 36
- Width = 457
- Height = 240
- ColCount = 1
- DataSource = SrcComp
- PanelHeight = 24
- PanelWidth = 441
- TabOrder = 1
- RowCount = 10
- object Pers_Birthday: TDBText
- Left = 244
- Top = 6
- Width = 77
- Height = 11
- DataField = 'Pers_Birthday'
- DataSource = SrcComp
- end
- object Pers_LastName: TDBEdit
- Left = 4
- Top = 2
- Width = 141
- Height = 19
- Ctl3D = False
- DataField = 'Pers_LastName'
- DataSource = SrcComp
- MaxLength = 0
- ParentCtl3D = False
- TabOrder = 0
- end
- object Pers_FirstName: TDBEdit
- Left = 152
- Top = 2
- Width = 85
- Height = 19
- Ctl3D = False
- DataField = 'Pers_FirstName'
- DataSource = SrcComp
- MaxLength = 0
- ParentCtl3D = False
- TabOrder = 1
- end
- end
- object Pers_Remarks: TDBMemo
- Left = 8
- Top = 284
- Width = 457
- Height = 61
- Ctl3D = False
- DataField = 'Pers_Remarks'
- DataSource = SrcComp
- ParentCtl3D = False
- TabOrder = 2
- end
- object BtnLookup: TButton
- Left = 8
- Top = 348
- Width = 109
- Height = 25
- Caption = 'Lookup Firstname'
- TabOrder = 3
- OnClick = BtnLookupClick
- end
- object BtnFindFirst: TButton
- Left = 8
- Top = 392
- Width = 53
- Height = 25
- Caption = 'FindFirst'
- TabOrder = 4
- OnClick = BtnFindFirstClick
- end
- object EditFindText: TEdit
- Left = 120
- Top = 396
- Width = 165
- Height = 19
- Ctl3D = False
- ParentCtl3D = False
- TabOrder = 5
- Text = 'Pers_LastName like "R*"'
- end
- object EditLookup: TEdit
- Left = 120
- Top = 352
- Width = 165
- Height = 19
- Ctl3D = False
- ParentCtl3D = False
- TabOrder = 6
- Text = 'Bolli'
- end
- object BtnFindNext: TButton
- Left = 64
- Top = 392
- Width = 53
- Height = 25
- Caption = 'FindNext'
- TabOrder = 7
- OnClick = BtnFindNextClick
- end
- object QryComp: TQuery
- DatabaseName = 'DBDemo'
- SessionName = 'Demo'
- RequestLive = True
- SQL.Strings = (
- 'SELECT'
- ' * '
- 'FROM'
- ' Person'
- 'ORDER BY'
- ' Pers_LastName')
- Left = 292
- Top = 4
- object QryCompPers_ID: TAutoIncField
- FieldName = 'Pers_ID'
- end
- object QryCompPers_LastName: TStringField
- FieldName = 'Pers_LastName'
- Size = 50
- end
- object QryCompPers_FirstName: TStringField
- FieldName = 'Pers_FirstName'
- Size = 50
- end
- object QryCompPers_Remarks: TMemoField
- FieldName = 'Pers_Remarks'
- BlobType = ftMemo
- Size = 65535
- end
- object QryCompPers_Birthday: TDateTimeField
- FieldName = 'Pers_Birthday'
- end
- object QryCompPers_IsFemale: TBooleanField
- FieldName = 'Pers_IsFemale'
- end
- end
- object SrcComp: TDataSource
- DataSet = QryComp
- Left = 324
- Top = 4
- end
- end
-