object Form13: TForm13
  Left = 497
  Top = 322
  Width = 681
  Height = 297
  Caption = #1053#1072#1103#1074#1085#1110#1089#1090#1100' '#1074' '#1084#1072#1075#1072#1079#1080#1085#1110
  Color = 14942150
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  Position = poScreenCenter
  PixelsPerInch = 96
  TextHeight = 13
  object DBGrid1: TDBGrid
    Left = 8
    Top = 24
    Width = 225
    Height = 193
    DataSource = DataSource1
    TabOrder = 0
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
  end
  object DBGrid2: TDBGrid
    Left = 240
    Top = 24
    Width = 417
    Height = 193
    DataSource = DataSource2
    TabOrder = 1
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
  end
  object BitBtn1: TBitBtn
    Left = 480
    Top = 226
    Width = 177
    Height = 25
    Caption = #1047#1072#1082#1088#1080#1090#1080
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -12
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ParentFont = False
    TabOrder = 2
    OnClick = BitBtn1Click
    Glyph.Data = {
      6E040000424D6E04000000000000360000002800000014000000120000000100
      1800000000003804000000000000000000000000000000000000FFFFFFFFFFFF
      FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
      FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC6CDE683
      91C98391C98391C98391C98391C98695CE8391C98695CE8091CE8391C98292D0
      7F8FCCBEC6E1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC6CEEF0B2EBB1536BF1A3E
      C32041C52041C51F40C31A3EC3163DC7163DC70C38CC0633CC022FCA002BC300
      22A9BEC6E1FFFFFFFFFFFFFFFFFFFFFFFF8398E9163DD82449DB2D51DE3557DF
      3557DF2D51DE2B53DF2652E41E4DE2184AE30F45E4083EE30136DE002BC37F8F
      CCFFFFFFFFFFFFFFFFFFFFFFFF8398E92046DF3154E13B5CE33B5CE37F95EDD1
      D9F8F8F9FEF8F9FEC9D6F96E90F1154DE90D46E9053DE3022FCA8391C9FFFFFF
      FFFFFFFFFFFFFFFFFF899DEE294EE03B5CE34564E4AEBCF3E8ECFB8398E9456B
      E83F69E87192F0E0E7FC9AB2F5154DE90F45E40633CC8292D0FFFFFFFFFFFFFF
      FFFFFFFFFF899DEE3154E14564E4899DEEE8ECFB5D79E8456BE86F8DED6F8DED
      2E5DE93967EBDFE6FC688CF00F45E40C38CC8292D0FFFFFFFFFFFFFFFFFFFFFF
      FF8DA1EF3B5CE34E6AE5D1D9F88DA1EF4E6AE54E6AE59AB2F599ADF12E5CE725
      57E86F8DEDC9D6F91145E3163DC78695CEFFFFFFFFFFFFFFFFFFFFFFFF91A4EF
      4564E45671E7F8F9FE5D79E84E6AE54669E6A1B1F299ADF12E5CE72652E42557
      E8F8F9FE1E4DE21A41CA8695CEFFFFFFFFFFFFFFFFFFFFFFFF91A4EF4E6AE55A
      75E8F8F9FE5A75E8506DE64564E4A1B1F299ADF12B53DF2652E42652E4F8F9FE
      254EE11A41CA8997CEFFFFFFFFFFFFFFFFFFFFFFFF99ADF15671E7617AE8DFE6
      FC899DEE506DE64A66E499ADF199ADF12B53DF294EE06784EBD1D9F82B53DF25
      46C88997CEFFFFFFFFFFFFFFFFFFFFFFFF99ADF1617AE86784EB9CADF1E8ECFB
      617AE84A66E47289EA6784EB3154E13659E3E0E7FC768EEC2B53DF2546C88997
      CEFFFFFFFFFFFFFFFFFFFFFFFF99ADF16784EB758DEB6784EBBAC5F5E8ECFB86
      9AED4E6AE54A66E4768EECE0E7FCA1B1F23154E12D51DE2848C88997CEFFFFFF
      FFFFFFFFFFFFFFFFFFA0AFF1758DEB899DEE758DEB6784EBA0AFF1D6DDF9F8F9
      FEF8F9FED6DDF9899DEE3F60E43B5CE33557DF2041C58997CEFFFFFFFFFFFFFF
      FFFFFFFFFFA1B1F2899DEE99ADF1899DEE758DEB7289EA6781E96781E9617AE8
      617AE85873E7506DE64564E43557DF2041C58391C9FFFFFFFFFFFFFFFFFFFFFF
      FFD1D9F86784EB899DEE768EEC6781E9617AE85A75E85873E75671E7506DE64A
      66E44564E43B5CE3294EDE1A3EC3C0C8E5FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
      D1D9F8A0AFF199ADF198A9F098A9F098A9F098A9F098A9F094A6F091A4EF91A4
      EF899DEE899DEEC6CEEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
      FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
      FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF}
  end
  object DataSource1: TDataSource
    DataSet = Query1
    Left = 16
    Top = 88
  end
  object DataSource2: TDataSource
    DataSet = Query3
    Left = 264
    Top = 104
  end
  object Query1: TQuery
    Active = True
    AfterScroll = Query1AfterScroll
    DatabaseName = '190400'
    SQL.Strings = (
      
        'Select magazunu.id, magazunu.NazvaMagazuny, magazunu.AdresaMagaz' +
        'uny, spivrobitnuku.PIB, magazunu.IdSpivrobitnuka'
      'From magazunu, spivrobitnuku'
      'Where magazunu.IdSpivrobitnuka = spivrobitnuku.id'
      '')
    Left = 24
    Top = 120
    object Query1id: TIntegerField
      FieldName = 'id'
      Visible = False
    end
    object Query1NazvaMagazuny: TStringField
      DisplayLabel = #1053#1072#1079#1074#1072' '#1084#1072#1075#1072#1079#1080#1085#1091
      DisplayWidth = 30
      FieldName = 'NazvaMagazuny'
      Size = 32
    end
    object Query1AdresaMagazuny: TStringField
      FieldName = 'AdresaMagazuny'
      Visible = False
      Size = 40
    end
    object Query1PIB: TStringField
      FieldName = 'PIB'
      Visible = False
      Size = 40
    end
    object Query1IdSpivrobitnuka: TIntegerField
      FieldName = 'IdSpivrobitnuka'
      Visible = False
    end
  end
  object Query2: TQuery
    DatabaseName = '190400'
    Left = 24
    Top = 160
  end
  object Query3: TQuery
    Active = True
    OnCalcFields = Query3CalcFields
    DatabaseName = '190400'
    SQL.Strings = (
      
        'Select nayavnistvmagazuni.id, nayavnistvmagazuni.IdMagazuny, nay' +
        'avnistvmagazuni.IdTovary, nayavnistvmagazuni.Kilkist, nayavnistv' +
        'magazuni.CinaOblikova, nayavnistvmagazuni.CinaRozdribna, magazun' +
        'u.id, tovary.nazvatovary'
      'From nayavnistvmagazuni, magazunu, tovary'
      
        'Where nayavnistvmagazuni.Idmagazuny = magazunu.id AND nayavnistv' +
        'magazuni.IdTovary = tovary.id')
    Left = 264
    Top = 136
    object Query3id: TIntegerField
      FieldName = 'id'
      Visible = False
    end
    object Query3IdMagazuny: TIntegerField
      FieldName = 'IdMagazuny'
      Visible = False
    end
    object Query3nazvatovary: TStringField
      DisplayLabel = #1053#1072#1079#1074#1072' '#1090#1086#1074#1072#1088#1091
      DisplayWidth = 26
      FieldName = 'nazvatovary'
      Size = 40
    end
    object Query3IdTovary: TIntegerField
      FieldName = 'IdTovary'
      Visible = False
    end
    object Query3Kilkist: TFloatField
      DisplayLabel = #1050#1110#1083#1100#1082#1110#1089#1090#1100
      FieldName = 'Kilkist'
    end
    object Query3CinaOblikova: TFloatField
      DisplayLabel = #1062#1110#1085#1072' '#1086#1073#1083#1110#1082#1086#1074#1072
      FieldName = 'CinaOblikova'
    end
    object Query3CinaRozdribna: TFloatField
      DisplayLabel = #1062#1110#1085#1072' '#1088#1086#1079#1076#1088#1110#1073#1085#1072
      FieldName = 'CinaRozdribna'
    end
    object Query3id_1: TIntegerField
      FieldName = 'id_1'
      Visible = False
    end
    object Query3CinaRoz: TIntegerField
      DisplayLabel = #1062#1110#1085#1072' '#1088#1086#1079#1076#1088#1110#1073#1085#1072
      FieldKind = fkCalculated
      FieldName = 'CinaRoz'
      Visible = False
      Calculated = True
    end
  end
end
