object Form1: TForm1 Left = 314 Top = 104 Width = 386 Height = 284 Caption = 'Error Handling Example' Font.Color = clWindowText Font.Height = -11 Font.Name = 'MS Sans Serif' Font.Style = [] Menu = MainMenu1 Position = poScreenCenter PixelsPerInch = 96 TextHeight = 13 object DBGrid1: TDBGrid Left = 0 Top = 0 Width = 378 Height = 240 Align = alClient DataSource = DataSource1 TabOrder = 0 TitleFont.Color = clWindowText TitleFont.Height = -11 TitleFont.Name = 'MS Sans Serif' TitleFont.Style = [] end object Table1: TTable Active = True TableName = 'Customer.DB' Left = 44 Top = 12 object Table1CustNo: TFloatField FieldName = 'CustNo' end object Table1Company: TStringField FieldName = 'Company' Size = 30 end object Table1City: TStringField FieldName = 'City' Required = True Size = 15 end end object MainMenu1: TMainMenu Left = 112 Top = 12 object Exceptions1: TMenuItem Caption = '&Raise Exception' ShortCut = 0 object KeyViolationPrimary1: TMenuItem Caption = 'Key Violation (&Primary)' ShortCut = 0 OnClick = KeyViolationPrimary1Click end object KeyViolationSecondary1: TMenuItem Caption = 'Key Violation (&Secondary)' ShortCut = 0 OnClick = KeyViolationSecondary1Click end object FieldMissing1: TMenuItem Caption = '&Field Missing' ShortCut = 0 OnClick = FieldMissing1Click end object NotinEditMode1: TMenuItem Caption = '&Not in Edit Mode' ShortCut = 0 OnClick = NotinEditMode1Click end object InterBaseLoginFail1: TMenuItem Caption = '&InterBase Login Fail' ShortCut = 0 OnClick = InterBaseLoginFail1Click end end end object DataSource1: TDataSource DataSet = Table1 Left = 76 Top = 12 end object Database1: TDatabase AliasName = 'IBLOCAL' DatabaseName = 'xxx' LoginPrompt = False Params.Strings = ( 'username=notindb' 'password=noconnecT') SessionName = 'Default' Left = 8 Top = 12 end end