home *** CD-ROM | disk | FTP | other *** search
- object BrPartsForm: TBrPartsForm
- Left = 238
- Top = 110
- AutoScroll = False
- HelpContext = 4
- ActiveControl = PartsGrid
- BorderIcons = [biSystemMenu, biMinimize]
- BorderStyle = bsSingle
- Caption = 'Browse Parts'
- ClientHeight = 248
- ClientWidth = 383
- Font.Color = clBlack
- Font.Height = -11
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- PixelsPerInch = 96
- Position = poScreenCenter
- TextHeight = 13
- object Panel1: TPanel
- Left = 0
- Top = 0
- Width = 383
- Height = 248
- HelpContext = 4
- Align = alClient
- TabOrder = 0
- object ActivateBtn: TSpeedButton
- Left = 156
- Top = 7
- Width = 77
- Height = 21
- AllowAllUp = True
- GroupIndex = 1
- Caption = '&Backorders'
- OnClick = ActivateQuery
- end
- object Navigator: TDBNavigator
- Left = 8
- Top = 7
- Width = 136
- Height = 21
- DataSource = PartsSource
- VisibleButtons = [nbFirst, nbPrior, nbNext, nbLast, nbRefresh]
- ParentShowHint = False
- ShowHint = True
- TabOrder = 0
- end
- object PartsGrid: TDBGrid
- Left = 8
- Top = 36
- Width = 367
- Height = 173
- DataSource = PartsSource
- Options = [dgTitles, dgColLines, dgRowLines, dgRowSelect]
- TabOrder = 1
- TitleFont.Color = clBlack
- TitleFont.Height = -11
- TitleFont.Name = 'MS Sans Serif'
- TitleFont.Style = []
- OnDblClick = EditBtnClick
- end
- object EditBtn: TButton
- Left = 207
- Top = 216
- Width = 79
- Height = 25
- Caption = '&Edit'
- Font.Color = clBlack
- Font.Height = -11
- Font.Name = 'MS Sans Serif'
- Font.Style = [fsBold]
- ModalResult = 1
- ParentFont = False
- TabOrder = 2
- OnClick = EditBtnClick
- end
- object CloseBtn: TButton
- Left = 301
- Top = 216
- Width = 74
- Height = 25
- Cancel = True
- Caption = '&Close'
- Default = True
- Font.Color = clBlack
- Font.Height = -11
- Font.Name = 'MS Sans Serif'
- Font.Style = [fsBold]
- ModalResult = 2
- ParentFont = False
- TabOrder = 3
- OnClick = CloseBtnClick
- end
- end
- object Parts: TTable
- Active = True
- DatabaseName = 'MAST'
- ReadOnly = True
- TableName = 'PARTS'
- Left = 76
- Top = 213
- object PartsPartNo: TFloatField
- Alignment = taLeftJustify
- DisplayWidth = 6
- FieldName = 'PartNo'
- end
- object PartsDescription: TStringField
- DisplayWidth = 29
- FieldName = 'Description'
- Size = 30
- end
- object PartsOnHand: TFloatField
- DisplayWidth = 10
- FieldName = 'OnHand'
- end
- object PartsOnOrder: TFloatField
- DisplayWidth = 10
- FieldName = 'OnOrder'
- end
- end
- object PartsSource: TDataSource
- DataSet = Parts
- Left = 108
- Top = 213
- end
- object PartsQuery: TQuery
- DatabaseName = 'MAST'
- SQL.Strings = (
- 'select * from parts'
- ' where (parts.OnOrder > parts.OnHand)'
- '')
- Left = 136
- Top = 213
- object PartsQueryPartNo: TFloatField
- Alignment = taLeftJustify
- DisplayWidth = 6
- FieldName = 'PartNo'
- end
- object PartsQueryDescription: TStringField
- DisplayWidth = 29
- FieldName = 'Description'
- Size = 30
- end
- object PartsQueryOnHand: TFloatField
- FieldName = 'OnHand'
- end
- object PartsQueryOnOrder: TFloatField
- FieldName = 'OnOrder'
- end
- end
- end
-