home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 April / Chip_1997-04_cd.bin / prezent / cb / data.z / MDREP.DFM / MDREP.txt < prev   
Text File  |  1997-01-16  |  16KB  |  718 lines

  1. object MDForm: TMDForm
  2.   Left = 171
  3.   Top = 177
  4.   Width = 745
  5.   Height = 530
  6.   HorzScrollBar.Range = 1200
  7.   VertScrollBar.Range = 2000
  8.   AutoScroll = False
  9.   Caption = 'Master Detail demo Report'
  10.   Font.Charset = ANSI_CHARSET
  11.   Font.Color = clBlack
  12.   Font.Height = -13
  13.   Font.Name = 'Arial'
  14.   Font.Style = []
  15.   Position = poScreenCenter
  16.   Scaled = False
  17.   PixelsPerInch = 96
  18.   TextHeight = 16
  19.   object Orderlines: TQRBand
  20.     Left = 0
  21.     Top = 117
  22.     Width = 1200
  23.     Height = 19
  24.     Align = alTop
  25.     BandType = rbSubDetail
  26.     Color = clWhite
  27.     ForceNewPage = False
  28.     Frame.Width = 0
  29.     Frame.DrawTop = False
  30.     Frame.DrawBottom = False
  31.     Frame.DrawLeft = False
  32.     Frame.DrawRight = False
  33.     LinkBand = OrderSummary
  34.     Ruler = qrrNone
  35.     object QRDBText8: TQRDBText
  36.       Left = 112
  37.       Top = 0
  38.       Width = 229
  39.       Height = 17
  40.       AlignToBand = False
  41.       DataSource = DataModule2.LineItemSource
  42.       DataField = 'PartName'
  43.     end
  44.     object QRDBText12: TQRDBText
  45.       Left = 32
  46.       Top = 0
  47.       Width = 69
  48.       Height = 17
  49.       AlignToBand = False
  50.       DataSource = DataModule2.LineItemSource
  51.       DataField = 'PartNo'
  52.     end
  53.     object QRDBText13: TQRDBText
  54.       Left = 348
  55.       Top = 0
  56.       Width = 89
  57.       Height = 17
  58.       Alignment = taRightJustify
  59.       AlignToBand = False
  60.       DataSource = DataModule2.LineItemSource
  61.       DataField = 'Price'
  62.     end
  63.     object QRDBText14: TQRDBText
  64.       Left = 444
  65.       Top = 0
  66.       Width = 33
  67.       Height = 17
  68.       Alignment = taRightJustify
  69.       AlignToBand = False
  70.       DataSource = DataModule2.LineItemSource
  71.       DataField = 'Qty'
  72.     end
  73.     object QRDBText16: TQRDBText
  74.       Left = 492
  75.       Top = 0
  76.       Width = 81
  77.       Height = 17
  78.       Alignment = taRightJustify
  79.       AlignToBand = False
  80.       DataSource = DataModule2.LineItemSource
  81.       DataField = 'Total'
  82.     end
  83.   end
  84.   object Title: TQRBand
  85.     Left = 0
  86.     Top = 0
  87.     Width = 1200
  88.     Height = 45
  89.     Align = alTop
  90.     BandType = rbTitle
  91.     Color = clWhite
  92.     Font.Charset = ANSI_CHARSET
  93.     Font.Color = clNavy
  94.     Font.Height = -13
  95.     Font.Name = 'Arial'
  96.     Font.Style = []
  97.     ForceNewPage = False
  98.     Frame.Width = 0
  99.     Frame.DrawTop = False
  100.     Frame.DrawBottom = False
  101.     Frame.DrawLeft = False
  102.     Frame.DrawRight = False
  103.     ParentFont = False
  104.     Ruler = qrrInchesHV
  105.     object QRLabel15: TQRLabel
  106.       Left = 84
  107.       Top = 4
  108.       Width = 193
  109.       Height = 36
  110.       Caption = 'QuickReport'
  111.       AlignToBand = False
  112.       Font.Charset = ANSI_CHARSET
  113.       Font.Color = 8404992
  114.       Font.Height = -32
  115.       Font.Name = 'Arial'
  116.       Font.Style = [fsBold, fsItalic]
  117.       ParentFont = False
  118.     end
  119.     object Image1: TImage
  120.       Left = 8
  121.       Top = 4
  122.       Width = 69
  123.       Height = 33
  124.       Picture.Data = {<image000.bmp>}
  125.       Stretch = True
  126.     end
  127.     object QRLabel1: TQRLabel
  128.       Left = 288
  129.       Top = 20
  130.       Width = 99
  131.       Height = 16
  132.       Caption = 'for C++ Builder '
  133.       AlignToBand = False
  134.       Font.Charset = ANSI_CHARSET
  135.       Font.Color = 8404992
  136.       Font.Height = -13
  137.       Font.Name = 'Arial'
  138.       Font.Style = [fsBold, fsItalic]
  139.       ParentFont = False
  140.     end
  141.     object QRLabel16: TQRLabel
  142.       Left = 560
  143.       Top = 20
  144.       Width = 167
  145.       Height = 16
  146.       Caption = 'Copyright (c) 1996 QSD AS'
  147.       AlignToBand = False
  148.       Font.Charset = ANSI_CHARSET
  149.       Font.Color = clBlack
  150.       Font.Height = -13
  151.       Font.Name = 'Arial'
  152.       Font.Style = [fsBold, fsItalic]
  153.       ParentFont = False
  154.     end
  155.   end
  156.   object CustomerHeading: TQRBand
  157.     Left = 0
  158.     Top = 45
  159.     Width = 1200
  160.     Height = 36
  161.     Align = alTop
  162.     BandType = rbDetail
  163.     Color = 8404992
  164.     ForceNewPage = False
  165.     Frame.Width = 0
  166.     Frame.DrawTop = False
  167.     Frame.DrawBottom = False
  168.     Frame.DrawLeft = False
  169.     Frame.DrawRight = False
  170.     LinkBand = Detail
  171.     Ruler = qrrNone
  172.     object QRDBText1: TQRDBText
  173.       Left = 8
  174.       Top = 12
  175.       Width = 245
  176.       Height = 17
  177.       AlignToBand = False
  178.       DataSource = DataModule2.CustomerSource
  179.       DataField = 'Company'
  180.       Font.Charset = ANSI_CHARSET
  181.       Font.Color = clWhite
  182.       Font.Height = -16
  183.       Font.Name = 'Arial'
  184.       Font.Style = [fsBold, fsItalic]
  185.       ParentFont = False
  186.     end
  187.     object QRLabel3: TQRLabel
  188.       Left = 8
  189.       Top = 0
  190.       Width = 46
  191.       Height = 14
  192.       Caption = 'Customer'
  193.       AlignToBand = False
  194.       Font.Charset = ANSI_CHARSET
  195.       Font.Color = clWhite
  196.       Font.Height = -11
  197.       Font.Name = 'Arial'
  198.       Font.Style = []
  199.       ParentFont = False
  200.     end
  201.     object QRLabel4: TQRLabel
  202.       Left = 272
  203.       Top = 0
  204.       Width = 30
  205.       Height = 14
  206.       Alignment = taRightJustify
  207.       Caption = 'Phone'
  208.       AlignToBand = False
  209.       Font.Charset = ANSI_CHARSET
  210.       Font.Color = clWhite
  211.       Font.Height = -11
  212.       Font.Name = 'Arial'
  213.       Font.Style = []
  214.       ParentFont = False
  215.     end
  216.     object QRDBText3: TQRDBText
  217.       Left = 272
  218.       Top = 12
  219.       Width = 109
  220.       Height = 17
  221.       AlignToBand = False
  222.       DataSource = DataModule2.CustomerSource
  223.       DataField = 'Phone'
  224.       Font.Charset = ANSI_CHARSET
  225.       Font.Color = clWhite
  226.       Font.Height = -16
  227.       Font.Name = 'Arial'
  228.       Font.Style = [fsBold, fsItalic]
  229.       ParentFont = False
  230.     end
  231.     object QRDBText4: TQRDBText
  232.       Left = 64
  233.       Top = 0
  234.       Width = 25
  235.       Height = 13
  236.       Alignment = taRightJustify
  237.       AlignToBand = False
  238.       DataSource = DataModule2.CustomerSource
  239.       DataField = 'CustNo'
  240.       Font.Charset = ANSI_CHARSET
  241.       Font.Color = clWhite
  242.       Font.Height = -11
  243.       Font.Name = 'Arial'
  244.       Font.Style = []
  245.       ParentFont = False
  246.     end
  247.     object QRLabel5: TQRLabel
  248.       Left = 388
  249.       Top = 0
  250.       Width = 18
  251.       Height = 14
  252.       Caption = 'Fax'
  253.       AlignToBand = False
  254.       Font.Charset = ANSI_CHARSET
  255.       Font.Color = clWhite
  256.       Font.Height = -11
  257.       Font.Name = 'Arial'
  258.       Font.Style = []
  259.       ParentFont = False
  260.     end
  261.     object QRDBText5: TQRDBText
  262.       Left = 388
  263.       Top = 12
  264.       Width = 105
  265.       Height = 17
  266.       AlignToBand = False
  267.       DataSource = DataModule2.CustomerSource
  268.       DataField = 'Fax'
  269.       Font.Charset = ANSI_CHARSET
  270.       Font.Color = clWhite
  271.       Font.Height = -16
  272.       Font.Name = 'Arial'
  273.       Font.Style = [fsBold, fsItalic]
  274.       ParentFont = False
  275.     end
  276.   end
  277.   object CustomerFooter: TQRBand
  278.     Left = 0
  279.     Top = 173
  280.     Width = 1200
  281.     Height = 32
  282.     Align = alTop
  283.     BandType = rbGroupFooter
  284.     Color = clWhite
  285.     ForceNewPage = False
  286.     Frame.Width = 0
  287.     Frame.DrawTop = False
  288.     Frame.DrawBottom = False
  289.     Frame.DrawLeft = False
  290.     Frame.DrawRight = False
  291.     Ruler = qrrNone
  292.     object QRDBCalc1: TQRDBCalc
  293.       Left = 484
  294.       Top = 0
  295.       Width = 89
  296.       Height = 17
  297.       Alignment = taRightJustify
  298.       AlignToBand = False
  299.       DataSource = DataModule2.OrderSource
  300.       DataField = 'AmountPaid'
  301.       Font.Charset = ANSI_CHARSET
  302.       Font.Color = clBlack
  303.       Font.Height = -13
  304.       Font.Name = 'Arial'
  305.       Font.Style = [fsBold]
  306.       ParentFont = False
  307.       Operation = qrcSUM
  308.       PrintMask = '#,##0.00'
  309.       ResetBand = CustomerFooter
  310.     end
  311.     object QRLabel7: TQRLabel
  312.       Left = 304
  313.       Top = 0
  314.       Width = 164
  315.       Height = 16
  316.       Caption = 'Total sales this customer: '
  317.       AlignToBand = False
  318.       Font.Charset = ANSI_CHARSET
  319.       Font.Color = clBlack
  320.       Font.Height = -13
  321.       Font.Name = 'Arial'
  322.       Font.Style = [fsBold]
  323.       ParentFont = False
  324.     end
  325.   end
  326.   object PageFooter: TQRBand
  327.     Left = 0
  328.     Top = 301
  329.     Width = 1200
  330.     Height = 19
  331.     Align = alTop
  332.     BandType = rbPageFooter
  333.     Color = clWhite
  334.     ForceNewPage = False
  335.     Frame.Width = 0
  336.     Frame.DrawTop = False
  337.     Frame.DrawBottom = False
  338.     Frame.DrawLeft = False
  339.     Frame.DrawRight = False
  340.     Ruler = qrrNone
  341.     object QRSysData1: TQRSysData
  342.       Left = 664
  343.       Top = 0
  344.       Width = 79
  345.       Height = 16
  346.       Alignment = taRightJustify
  347.       AlignToBand = True
  348.       Data = qrsPageNumber
  349.       Text = 'Page '
  350.     end
  351.   end
  352.   object Summary: TQRBand
  353.     Left = 0
  354.     Top = 205
  355.     Width = 1200
  356.     Height = 96
  357.     Hint = 'QuickReport'
  358.     Align = alTop
  359.     BandType = rbSummary
  360.     Color = clWhite
  361.     ForceNewPage = False
  362.     Frame.Width = 0
  363.     Frame.DrawTop = False
  364.     Frame.DrawBottom = False
  365.     Frame.DrawLeft = False
  366.     Frame.DrawRight = False
  367.     Ruler = qrrNone
  368.     object QRDBCalc2: TQRDBCalc
  369.       Left = 468
  370.       Top = 8
  371.       Width = 105
  372.       Height = 17
  373.       Alignment = taRightJustify
  374.       AlignToBand = False
  375.       DataSource = DataModule2.OrderSource
  376.       DataField = 'AmountPaid'
  377.       Operation = qrcSUM
  378.       PrintMask = ',0.00'
  379.     end
  380.     object QRLabel6: TQRLabel
  381.       Left = 300
  382.       Top = 8
  383.       Width = 153
  384.       Height = 16
  385.       Caption = 'Total sales all customers :'
  386.       AlignToBand = False
  387.     end
  388.     object QRLabel9: TQRLabel
  389.       Left = 48
  390.       Top = 28
  391.       Width = 133
  392.       Height = 16
  393.       Caption = 'Total number of orders:'
  394.       AlignToBand = False
  395.     end
  396.     object QRLabel10: TQRLabel
  397.       Left = 24
  398.       Top = 8
  399.       Width = 158
  400.       Height = 16
  401.       Caption = 'Total number of customers:'
  402.       AlignToBand = False
  403.     end
  404.     object QRDBCalc4: TQRDBCalc
  405.       Left = 188
  406.       Top = 8
  407.       Width = 65
  408.       Height = 17
  409.       Alignment = taRightJustify
  410.       AlignToBand = False
  411.       DataSource = DataModule2.CustomerSource
  412.       DataField = 'Zip'
  413.       Operation = qrcCOUNT
  414.     end
  415.     object QRDBCalc5: TQRDBCalc
  416.       Left = 188
  417.       Top = 28
  418.       Width = 65
  419.       Height = 17
  420.       Alignment = taRightJustify
  421.       AlignToBand = False
  422.       DataSource = DataModule2.OrderSource
  423.       DataField = 'AmountPaid'
  424.       Operation = qrcCOUNT
  425.     end
  426.     object QRLabel11: TQRLabel
  427.       Left = 24
  428.       Top = 48
  429.       Width = 157
  430.       Height = 16
  431.       Caption = 'Total number of order lines:'
  432.       AlignToBand = False
  433.     end
  434.     object QRDBCalc6: TQRDBCalc
  435.       Left = 188
  436.       Top = 48
  437.       Width = 65
  438.       Height = 17
  439.       Alignment = taRightJustify
  440.       AlignToBand = False
  441.       DataSource = DataModule2.LineItemSource
  442.       DataField = 'Discount'
  443.       Operation = qrcCOUNT
  444.     end
  445.     object QRLabel12: TQRLabel
  446.       Left = 24
  447.       Top = 68
  448.       Width = 157
  449.       Height = 16
  450.       Caption = 'Total number of items sold:'
  451.       AlignToBand = False
  452.     end
  453.     object QRDBCalc7: TQRDBCalc
  454.       Left = 188
  455.       Top = 68
  456.       Width = 65
  457.       Height = 17
  458.       Alignment = taRightJustify
  459.       AlignToBand = False
  460.       DataSource = DataModule2.LineItemSource
  461.       DataField = 'Qty'
  462.       Operation = qrcSUM
  463.     end
  464.   end
  465.   object Detail: TQRBand
  466.     Left = 0
  467.     Top = 81
  468.     Width = 1200
  469.     Height = 36
  470.     Align = alTop
  471.     BandType = rbSubDetail
  472.     Color = clWhite
  473.     ForceNewPage = False
  474.     Frame.Width = 0
  475.     Frame.DrawTop = False
  476.     Frame.DrawBottom = False
  477.     Frame.DrawLeft = False
  478.     Frame.DrawRight = False
  479.     LinkBand = Orderlines
  480.     Ruler = qrrNone
  481.     object QRDBText2: TQRDBText
  482.       Left = 60
  483.       Top = 0
  484.       Width = 53
  485.       Height = 17
  486.       Alignment = taRightJustify
  487.       AlignToBand = False
  488.       DataSource = DataModule2.OrderSource
  489.       DataField = 'OrderNo'
  490.       Font.Charset = ANSI_CHARSET
  491.       Font.Color = clBlack
  492.       Font.Height = -13
  493.       Font.Name = 'Arial'
  494.       Font.Style = [fsBold, fsItalic]
  495.       ParentFont = False
  496.     end
  497.     object QRDBText7: TQRDBText
  498.       Left = 172
  499.       Top = 0
  500.       Width = 65
  501.       Height = 17
  502.       AlignToBand = False
  503.       DataSource = DataModule2.OrderSource
  504.       DataField = 'SaleDate'
  505.       Font.Charset = ANSI_CHARSET
  506.       Font.Color = clBlack
  507.       Font.Height = -13
  508.       Font.Name = 'Arial'
  509.       Font.Style = [fsBold, fsItalic]
  510.       ParentFont = False
  511.     end
  512.     object QRLabel2: TQRLabel
  513.       Left = 4
  514.       Top = 0
  515.       Width = 56
  516.       Height = 16
  517.       Caption = 'Order no'
  518.       AlignToBand = False
  519.       Font.Charset = ANSI_CHARSET
  520.       Font.Color = clBlack
  521.       Font.Height = -13
  522.       Font.Name = 'Arial'
  523.       Font.Style = [fsBold]
  524.       ParentFont = False
  525.     end
  526.     object QRLabel8: TQRLabel
  527.       Left = 132
  528.       Top = 0
  529.       Width = 29
  530.       Height = 16
  531.       Caption = 'Date'
  532.       AlignToBand = False
  533.       Font.Charset = ANSI_CHARSET
  534.       Font.Color = clBlack
  535.       Font.Height = -13
  536.       Font.Name = 'Arial'
  537.       Font.Style = [fsBold]
  538.       ParentFont = False
  539.     end
  540.     object QRLabel17: TQRLabel
  541.       Left = 32
  542.       Top = 16
  543.       Width = 19
  544.       Height = 14
  545.       Caption = 'Part'
  546.       AlignToBand = False
  547.       Font.Charset = ANSI_CHARSET
  548.       Font.Color = clBlack
  549.       Font.Height = -11
  550.       Font.Name = 'Arial'
  551.       Font.Style = []
  552.       ParentFont = False
  553.     end
  554.     object QRShape1: TQRShape
  555.       Left = 52
  556.       Top = 24
  557.       Width = 289
  558.       Height = 4
  559.       Shape = qrsHorLine
  560.     end
  561.     object QRLabel18: TQRLabel
  562.       Left = 412
  563.       Top = 16
  564.       Width = 24
  565.       Height = 14
  566.       Caption = 'Price'
  567.       AlignToBand = False
  568.       Font.Charset = ANSI_CHARSET
  569.       Font.Color = clBlack
  570.       Font.Height = -11
  571.       Font.Name = 'Arial'
  572.       Font.Style = []
  573.       ParentFont = False
  574.     end
  575.     object QRShape2: TQRShape
  576.       Left = 356
  577.       Top = 24
  578.       Width = 53
  579.       Height = 4
  580.       Shape = qrsHorLine
  581.     end
  582.     object QRLabel19: TQRLabel
  583.       Left = 460
  584.       Top = 16
  585.       Width = 17
  586.       Height = 14
  587.       Caption = 'Qty'
  588.       AlignToBand = False
  589.       Font.Charset = ANSI_CHARSET
  590.       Font.Color = clBlack
  591.       Font.Height = -11
  592.       Font.Name = 'Arial'
  593.       Font.Style = []
  594.       ParentFont = False
  595.     end
  596.     object QRShape3: TQRShape
  597.       Left = 445
  598.       Top = 24
  599.       Width = 11
  600.       Height = 4
  601.       Shape = qrsHorLine
  602.     end
  603.     object QRLabel20: TQRLabel
  604.       Left = 548
  605.       Top = 16
  606.       Width = 23
  607.       Height = 14
  608.       Caption = 'Total'
  609.       AlignToBand = False
  610.       Font.Charset = ANSI_CHARSET
  611.       Font.Color = clBlack
  612.       Font.Height = -11
  613.       Font.Name = 'Arial'
  614.       Font.Style = []
  615.       ParentFont = False
  616.     end
  617.     object QRShape4: TQRShape
  618.       Left = 492
  619.       Top = 24
  620.       Width = 53
  621.       Height = 4
  622.       Shape = qrsHorLine
  623.     end
  624.   end
  625.   object OrderSummary: TQRBand
  626.     Left = 0
  627.     Top = 136
  628.     Width = 1200
  629.     Height = 37
  630.     Align = alTop
  631.     BandType = rbGroupFooter
  632.     Color = clWhite
  633.     ForceNewPage = False
  634.     Frame.Width = 0
  635.     Frame.DrawTop = False
  636.     Frame.DrawBottom = False
  637.     Frame.DrawLeft = False
  638.     Frame.DrawRight = False
  639.     LinkBand = CustomerFooter
  640.     Ruler = qrrNone
  641.     object QRShape5: TQRShape
  642.       Left = 32
  643.       Top = 12
  644.       Width = 457
  645.       Height = 4
  646.       Shape = qrsHorLine
  647.     end
  648.     object QRLabel21: TQRLabel
  649.       Left = 500
  650.       Top = 4
  651.       Width = 72
  652.       Height = 14
  653.       Caption = 'Total this order'
  654.       AlignToBand = False
  655.       Font.Charset = ANSI_CHARSET
  656.       Font.Color = clBlack
  657.       Font.Height = -11
  658.       Font.Name = 'Arial'
  659.       Font.Style = []
  660.       ParentFont = False
  661.     end
  662.     object QRDBCalc3: TQRDBCalc
  663.       Left = 496
  664.       Top = 20
  665.       Width = 77
  666.       Height = 17
  667.       Alignment = taRightJustify
  668.       AlignToBand = False
  669.       DataSource = DataModule2.LineItemSource
  670.       DataField = 'Total'
  671.       Operation = qrcSUM
  672.       PrintMask = '#,##0.00'
  673.       ResetBand = OrderSummary
  674.     end
  675.   end
  676.   object MDRep: TQuickReport
  677.     DataSource = DataModule2.CustomerSource
  678.     ColumnMarginInches = 0
  679.     ColumnMarginMM = 0
  680.     Columns = 1
  681.     DisplayPrintDialog = False
  682.     LeftMarginInches = 0
  683.     LeftMarginMM = 0
  684.     Orientation = poPortrait
  685.     PageFrame.DrawTop = False
  686.     PageFrame.DrawBottom = False
  687.     PageFrame.DrawLeft = False
  688.     PageFrame.DrawRight = False
  689.     PaperLength = 0
  690.     PaperSize = qrpDefault
  691.     PaperWidth = 0
  692.     ReportTitle = 'QuickReport Master/detail demonstration'
  693.     RestartData = True
  694.     SQLCompatible = False
  695.     TitleBeforeHeader = False
  696.     Left = 4
  697.     Top = 324
  698.   end
  699.   object QRDetailLink1: TQRDetailLink
  700.     DataSource = DataModule2.OrderSource
  701.     DetailBand = Detail
  702.     FooterBand = CustomerFooter
  703.     Master = MDRep
  704.     PrintBefore = False
  705.     Left = 12
  706.     Top = 352
  707.   end
  708.   object QRDetailLink2: TQRDetailLink
  709.     DataSource = DataModule2.LineItemSource
  710.     DetailBand = Orderlines
  711.     FooterBand = OrderSummary
  712.     Master = QRDetailLink1
  713.     PrintBefore = False
  714.     Left = 20
  715.     Top = 380
  716.   end
  717. end
  718.