home *** CD-ROM | disk | FTP | other *** search
/ Current Shareware 1994 January / SHAR194.ISO / spreadsh / apptec.zip / DISPLAY.SAM < prev    next >
INI File  |  1993-07-30  |  16KB  |  1,190 lines

  1. [ver]
  2.     4
  3. [sty]
  4.     
  5. [files]
  6. [charset]
  7.     82
  8.     ANSI (Windows, IBM CP 1252)
  9. [revisions]
  10.     0
  11. [prn]
  12.     HP LaserJet IIISi
  13. [port]
  14.     LPT1:
  15. [lang]
  16.     1
  17. [desc]
  18.     
  19.     
  20.     
  21.     
  22.     
  23.     744061304
  24.     1
  25.     744061062
  26.     4
  27.     3
  28.     0
  29.     0
  30.     0
  31.     0
  32.     
  33.     
  34.     
  35.     
  36.     
  37.     
  38.     1
  39. [fopts]
  40.     0
  41.     1
  42.     0
  43.     0
  44. [lnopts]
  45.     2
  46.     Body Text
  47.     1
  48. [docopts]
  49.     5
  50.     2
  51. [GramStyle]
  52.     
  53. [tag]
  54.     Body Text
  55.     2
  56.     [fnt]
  57.         Times New Roman
  58.         240
  59.         0
  60.         49152
  61.     [algn]
  62.         1
  63.         1
  64.         0
  65.         0
  66.         0
  67.     [spc]
  68.         33
  69.         273
  70.         1
  71.         0
  72.         0
  73.         1
  74.         100
  75.     [brk]
  76.         4
  77.     [line]
  78.         8
  79.         0
  80.         1
  81.         0
  82.         1
  83.         1
  84.         1
  85.         10
  86.         10
  87.         1
  88.     [spec]
  89.         0
  90.         0
  91.         
  92.         0
  93.         1
  94.         1
  95.         0
  96.         0
  97.         0
  98.         0
  99.     [nfmt]
  100.         280
  101.         1
  102.         2
  103.         .
  104.         ,
  105.         $
  106.     Body Text
  107.     0
  108.     0
  109. [tag]
  110.     Body Single
  111.     3
  112.     [fnt]
  113.         Times New Roman
  114.         240
  115.         0
  116.         49152
  117.     [algn]
  118.         1
  119.         1
  120.         0
  121.         0
  122.         0
  123.     [spc]
  124.         33
  125.         273
  126.         1
  127.         0
  128.         0
  129.         1
  130.         100
  131.     [brk]
  132.         4
  133.     [line]
  134.         8
  135.         0
  136.         1
  137.         0
  138.         1
  139.         1
  140.         1
  141.         10
  142.         10
  143.         1
  144.     [spec]
  145.         0
  146.         0
  147.         
  148.         0
  149.         1
  150.         1
  151.         0
  152.         0
  153.         0
  154.         0
  155.     [nfmt]
  156.         280
  157.         1
  158.         2
  159.         .
  160.         ,
  161.         $
  162.     Body Single
  163.     0
  164.     0
  165. [tag]
  166.     Bullet
  167.     4
  168.     [fnt]
  169.         Times New Roman
  170.         240
  171.         0
  172.         49152
  173.     [algn]
  174.         1
  175.         1
  176.         0
  177.         288
  178.         288
  179.     [spc]
  180.         33
  181.         273
  182.         1
  183.         0
  184.         0
  185.         1
  186.         100
  187.     [brk]
  188.         4
  189.     [line]
  190.         8
  191.         0
  192.         1
  193.         0
  194.         1
  195.         1
  196.         1
  197.         10
  198.         10
  199.         1
  200.     [spec]
  201.         0
  202.         0
  203.         <*0>
  204.         360
  205.         1
  206.         1
  207.         0
  208.         0
  209.         0
  210.         0
  211.     [nfmt]
  212.         272
  213.         1
  214.         2
  215.         .
  216.         ,
  217.         $
  218.     Bullet
  219.     0
  220.     0
  221. [tag]
  222.     Bullet 1
  223.     5
  224.     [fnt]
  225.         Times New Roman
  226.         240
  227.         0
  228.         49152
  229.     [algn]
  230.         1
  231.         1
  232.         288
  233.         288
  234.         288
  235.     [spc]
  236.         33
  237.         273
  238.         1
  239.         0
  240.         0
  241.         1
  242.         100
  243.     [brk]
  244.         4
  245.     [line]
  246.         8
  247.         0
  248.         1
  249.         0
  250.         1
  251.         1
  252.         1
  253.         10
  254.         10
  255.         1
  256.     [spec]
  257.         0
  258.         0
  259.         <*5>
  260.         0
  261.         1
  262.         1
  263.         0
  264.         0
  265.         0
  266.         0
  267.     [nfmt]
  268.         280
  269.         1
  270.         2
  271.         .
  272.         ,
  273.         $
  274.     Bullet 1
  275.     0
  276.     0
  277. [tag]
  278.     Number List
  279.     6
  280.     [fnt]
  281.         Times New Roman
  282.         240
  283.         0
  284.         49152
  285.     [algn]
  286.         1
  287.         1
  288.         360
  289.         360
  290.         360
  291.     [spc]
  292.         33
  293.         273
  294.         1
  295.         0
  296.         0
  297.         1
  298.         100
  299.     [brk]
  300.         4
  301.     [line]
  302.         8
  303.         0
  304.         1
  305.         0
  306.         1
  307.         1
  308.         1
  309.         10
  310.         10
  311.         1
  312.     [spec]
  313.         0
  314.         0
  315.         <*:>.
  316.         360
  317.         1
  318.         1
  319.         0
  320.         16
  321.         0
  322.         0
  323.     [nfmt]
  324.         272
  325.         1
  326.         2
  327.         .
  328.         ,
  329.         $
  330.     Number List
  331.     0
  332.     0
  333. [tag]
  334.     Subhead
  335.     7
  336.     [fnt]
  337.         Times New Roman
  338.         240
  339.         0
  340.         49155
  341.     [algn]
  342.         1
  343.         1
  344.         0
  345.         0
  346.         0
  347.     [spc]
  348.         33
  349.         273
  350.         1
  351.         72
  352.         72
  353.         1
  354.         100
  355.     [brk]
  356.         4
  357.     [line]
  358.         8
  359.         0
  360.         1
  361.         0
  362.         1
  363.         1
  364.         1
  365.         10
  366.         10
  367.         1
  368.     [spec]
  369.         0
  370.         2
  371.         
  372.         0
  373.         1
  374.         1
  375.         0
  376.         0
  377.         0
  378.         0
  379.     [nfmt]
  380.         272
  381.         1
  382.         2
  383.         .
  384.         ,
  385.         $
  386.     Subhead
  387.     0
  388.     0
  389. [tag]
  390.     Title
  391.     8
  392.     [fnt]
  393.         Arial
  394.         360
  395.         0
  396.         16385
  397.     [algn]
  398.         4
  399.         1
  400.         0
  401.         0
  402.         0
  403.     [spc]
  404.         33
  405.         446
  406.         1
  407.         144
  408.         72
  409.         1
  410.         100
  411.     [brk]
  412.         16
  413.     [line]
  414.         8
  415.         0
  416.         1
  417.         0
  418.         1
  419.         1
  420.         1
  421.         10
  422.         10
  423.         1
  424.     [spec]
  425.         0
  426.         1
  427.         
  428.         0
  429.         1
  430.         1
  431.         0
  432.         0
  433.         0
  434.         0
  435.     [nfmt]
  436.         272
  437.         1
  438.         2
  439.         .
  440.         ,
  441.         $
  442.     Title
  443.     0
  444.     0
  445. [tag]
  446.     Header
  447.     9
  448.     [fnt]
  449.         Times New Roman
  450.         240
  451.         0
  452.         49152
  453.     [algn]
  454.         1
  455.         1
  456.         0
  457.         0
  458.         0
  459.     [spc]
  460.         33
  461.         273
  462.         1
  463.         0
  464.         0
  465.         1
  466.         100
  467.     [brk]
  468.         4
  469.     [line]
  470.         8
  471.         0
  472.         1
  473.         0
  474.         1
  475.         1
  476.         1
  477.         10
  478.         10
  479.         1
  480.     [spec]
  481.         0
  482.         0
  483.         
  484.         0
  485.         1
  486.         1
  487.         0
  488.         0
  489.         0
  490.         0
  491.     [nfmt]
  492.         280
  493.         1
  494.         2
  495.         .
  496.         ,
  497.         $
  498.     Header
  499.     0
  500.     0
  501. [tag]
  502.     Footer
  503.     11
  504.     [fnt]
  505.         Times New Roman
  506.         240
  507.         0
  508.         49152
  509.     [algn]
  510.         1
  511.         1
  512.         0
  513.         0
  514.         0
  515.     [spc]
  516.         33
  517.         273
  518.         1
  519.         0
  520.         0
  521.         1
  522.         100
  523.     [brk]
  524.         4
  525.     [line]
  526.         8
  527.         0
  528.         1
  529.         0
  530.         1
  531.         1
  532.         1
  533.         10
  534.         10
  535.         1
  536.     [spec]
  537.         0
  538.         0
  539.         
  540.         0
  541.         1
  542.         1
  543.         0
  544.         0
  545.         0
  546.         0
  547.     [nfmt]
  548.         280
  549.         1
  550.         2
  551.         .
  552.         ,
  553.         $
  554.     Footer
  555.     0
  556.     0
  557. [tag]
  558.     list
  559.     12
  560.     [fnt]
  561.         Times New Roman
  562.         240
  563.         0
  564.         0
  565.     [algn]
  566.         1
  567.         1
  568.         0
  569.         0
  570.         360
  571.     [spc]
  572.         33
  573.         0
  574.         1
  575.         0
  576.         0
  577.         1
  578.         100
  579.     [brk]
  580.         36
  581.     [line]
  582.         8
  583.         0
  584.         1
  585.         0
  586.         1
  587.         1
  588.         1
  589.         10
  590.         10
  591.         1
  592.     [spec]
  593.         0
  594.         0
  595.         
  596.         0
  597.         1
  598.         1
  599.         0
  600.         0
  601.         0
  602.         0
  603.     [nfmt]
  604.         280
  605.         1
  606.         2
  607.         .
  608.         ,
  609.         $
  610.     list
  611.     11
  612.     1
  613.     720
  614.     1
  615.     1440
  616.     1
  617.     2160
  618.     1
  619.     2880
  620.     1
  621.     3600
  622.     1
  623.     4320
  624.     1
  625.     5040
  626.     1
  627.     5760
  628.     1
  629.     6480
  630.     1
  631.     7200
  632.     1
  633.     7920
  634.     0
  635. [tag]
  636.     Normal
  637.     0
  638.     [fnt]
  639.         Times New Roman
  640.         200
  641.         0
  642.         0
  643.     [algn]
  644.         1
  645.         1
  646.         0
  647.         0
  648.         0
  649.     [spc]
  650.         33
  651.         0
  652.         1
  653.         0
  654.         0
  655.         1
  656.         100
  657.     [brk]
  658.         36
  659.     [line]
  660.         8
  661.         0
  662.         1
  663.         0
  664.         1
  665.         1
  666.         1
  667.         10
  668.         10
  669.         1
  670.     [spec]
  671.         0
  672.         0
  673.         
  674.         0
  675.         1
  676.         1
  677.         0
  678.         0
  679.         0
  680.         0
  681.     [nfmt]
  682.         280
  683.         1
  684.         2
  685.         .
  686.         ,
  687.         $
  688.     Normal
  689.     11
  690.     1
  691.     720
  692.     1
  693.     1440
  694.     1
  695.     2160
  696.     1
  697.     2880
  698.     1
  699.     3600
  700.     1
  701.     4320
  702.     1
  703.     5040
  704.     1
  705.     5760
  706.     1
  707.     6480
  708.     1
  709.     7200
  710.     1
  711.     7920
  712.     0
  713. [tag]
  714.     footer
  715.     0
  716.     [fnt]
  717.         Times New Roman
  718.         200
  719.         0
  720.         0
  721.     [algn]
  722.         1
  723.         1
  724.         0
  725.         0
  726.         0
  727.     [spc]
  728.         33
  729.         0
  730.         1
  731.         0
  732.         0
  733.         1
  734.         100
  735.     [brk]
  736.         36
  737.     [line]
  738.         8
  739.         0
  740.         1
  741.         0
  742.         1
  743.         1
  744.         1
  745.         10
  746.         10
  747.         1
  748.     [spec]
  749.         0
  750.         0
  751.         
  752.         0
  753.         1
  754.         1
  755.         0
  756.         0
  757.         0
  758.         0
  759.     [nfmt]
  760.         280
  761.         1
  762.         2
  763.         .
  764.         ,
  765.         $
  766.     footer
  767.     2
  768.     2
  769.     4320
  770.     3
  771.     8640
  772.     0
  773. [frm]
  774.     1
  775.     66176
  776.     1836
  777.     1468
  778.     10384
  779.     3557
  780.     1
  781.     1
  782.     1
  783.     1 0 0 100 100 0 0
  784.     0
  785.     16777215
  786.     3
  787.     [frmlay]
  788.         3557
  789.         8548
  790.         1
  791.         144
  792.         144
  793.         1
  794.         1612
  795.         144
  796.         0
  797.         2
  798.         0
  799.         1
  800.         1
  801.         0
  802.         1
  803.         1980
  804.         10240
  805.         0
  806.     [txt]
  807. @Normal@<+!><:f900,BHelveticaNeue MediumCond,0,0,0><:f900,2Tms Rmn,0,0,0><+!><:f900,BHelveticaNeue MediumCond,0,0,0>Approach Tech Notes<:f600,BHelvetica,0,0,0>
  808.  
  809. @Normal@<+!>Approach 2.0 for Windows<:f160,BHelveticaNeue MediumCond,0,0,0>                            TN 4/93-1007<:f320,BHelveticaNeue MediumCond,0,0,0>
  810.  
  811. @Normal@<+!><:f240,FArial,0,0,0>Displaying One to Many Relationships on Forms and Reports<-!><:f200,FArial,0,0,0><:f>
  812.  
  813. @Normal@<+!><:f600,BHelvetica,0,0,0>
  814.  
  815. >
  816. [lay]
  817.     Standard
  818.     513
  819.     [rght]
  820.         15840
  821.         12240
  822.         1
  823.         1440
  824.         1440
  825.         1
  826.         1440
  827.         1440
  828.         0
  829.         1
  830.         0
  831.         1
  832.         0
  833.         2
  834.         1
  835.         1440
  836.         10800
  837.         12
  838.         1
  839.         720
  840.         1
  841.         1440
  842.         1
  843.         2160
  844.         1
  845.         2880
  846.         1
  847.         3600
  848.         1
  849.         4320
  850.         1
  851.         5040
  852.         1
  853.         5760
  854.         1
  855.         6480
  856.         1
  857.         7200
  858.         1
  859.         7920
  860.         1
  861.         8640
  862.     [hrght]
  863.     [lyfrm]
  864.         1
  865.         11200
  866.         0
  867.         0
  868.         12240
  869.         1440
  870.         0
  871.         1
  872.         3
  873.         1 0 0 0 0 0 0
  874.         0
  875.         0
  876.         1
  877.     [frmlay]
  878.         1440
  879.         12240
  880.         1
  881.         1440
  882.         72
  883.         1
  884.         792
  885.         1440
  886.         0
  887.         1
  888.         0
  889.         1
  890.         1
  891.         0
  892.         1
  893.         1440
  894.         10800
  895.         2
  896.         2
  897.         4680
  898.         3
  899.         9360
  900.     [txt]
  901. >
  902.     [frght]
  903.     [lyfrm]
  904.         1
  905.         13248
  906.         0
  907.         14400
  908.         12240
  909.         15840
  910.         0
  911.         1
  912.         3
  913.         1 0 0 0 0 0 0
  914.         0
  915.         0
  916.         2
  917.     [frmlay]
  918.         15840
  919.         12240
  920.         1
  921.         1440
  922.         792
  923.         1
  924.         14472
  925.         1440
  926.         0
  927.         1
  928.         0
  929.         1
  930.         1
  931.         0
  932.         1
  933.         1440
  934.         10800
  935.         2
  936.         2
  937.         4680
  938.         3
  939.         9360
  940.     [txt]
  941. >
  942. [elay]
  943. [lay]
  944.     1
  945.     519
  946.     [rght]
  947.         15840
  948.         12240
  949.         1
  950.         1800
  951.         1440
  952.         1
  953.         1440
  954.         1800
  955.         2
  956.         1
  957.         2
  958.         1
  959.         0
  960.         1
  961.         2
  962.         1800
  963.         6000
  964.         11
  965.         1
  966.         720
  967.         1
  968.         1440
  969.         1
  970.         2160
  971.         1
  972.         2880
  973.         1
  974.         3600
  975.         1
  976.         4320
  977.         1
  978.         5040
  979.         1
  980.         5760
  981.         1
  982.         6480
  983.         1
  984.         7200
  985.         1
  986.         7920
  987.         6240
  988.         10440
  989.         0
  990.     [hrght]
  991.     [lyfrm]
  992.         1
  993.         11200
  994.         0
  995.         0
  996.         12240
  997.         1440
  998.         0
  999.         1
  1000.         3
  1001.         1 0 0 0 0 0 0
  1002.         0
  1003.         0
  1004.         4
  1005.     [frmlay]
  1006.         1440
  1007.         12240
  1008.         1
  1009.         1800
  1010.         72
  1011.         1
  1012.         792
  1013.         1800
  1014.         0
  1015.         1
  1016.         0
  1017.         1
  1018.         1
  1019.         0
  1020.         1
  1021.         1800
  1022.         10440
  1023.         2
  1024.         2
  1025.         4680
  1026.         3
  1027.         9360
  1028.     [txt]
  1029. >
  1030.     [frght]
  1031.     [lyfrm]
  1032.         1
  1033.         13248
  1034.         0
  1035.         14400
  1036.         12240
  1037.         15840
  1038.         0
  1039.         1
  1040.         3
  1041.         1 0 0 0 0 0 0
  1042.         0
  1043.         0
  1044.         5
  1045.     [frmlay]
  1046.         15840
  1047.         12240
  1048.         1
  1049.         1800
  1050.         792
  1051.         1
  1052.         14400
  1053.         1800
  1054.         0
  1055.         1
  1056.         0
  1057.         1
  1058.         1
  1059.         0
  1060.         1
  1061.         1800
  1062.         10440
  1063.         2
  1064.         2
  1065.         4680
  1066.         3
  1067.         9360
  1068.     [txt]
  1069. >
  1070. [elay]
  1071. [l1]
  1072.     1
  1073. [pg]
  1074.     3
  1075.     20 0 19 0 0 0 0 65535 2 1    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  1076.     38 307 37 0 0 0 0 65535 65535 1    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  1077.     40 380 30 1025 0 0 0 65535 65535 1    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  1078. [edoc]
  1079. @Normal@<:#231,36><:f900,2Tms Rmn,0,0,0><+!><:f900,BHelveticaNeue MediumCond,0,0,0><-!><:f><:f200,FArial,0,0,0>
  1080.  
  1081. @Normal@<:#231,36><:f200,FArial,0,0,0>
  1082.  
  1083. <:#1704,4200><:f240,6Times New Roman,0,0,0>A one-to-many relationship is where one record in one file relates to one or more records in a second, detail file.  An example might be cities within a state.  The state record could have one or more related city records in a 
  1084. different file.
  1085.  
  1086. @Normal@<:#240,4200>
  1087.  
  1088. @Normal@<:#2272,4200><:f240,6Times New Roman,0,0,0>How can you display this relationship in Approach?  Generally, the one to many relationship will be displayed by a form with a repeating panel or with a report that includes a summary panel.  Given the example of States and Cit
  1089. ies within States, the following are instructions on how to set up both a form and a report. 
  1090.  
  1091. @Normal@<:#284,4200><:f240,6Times New Roman,0,0,0>
  1092.  
  1093. @Normal@<:#1988,4200><:f240,6Times New Roman,0,0,0>A one to many relationship displayed on a form uses a repeating panel.  The form is based on the main record.  The repeating panel is based on the detail records.  In each form only the detail records that are related to the cu
  1094. rrent main record will be displayed in that form's repeating panel.
  1095.  
  1096. @Normal@<:#284,4200><:f240,6Times New Roman,0,0,0>
  1097.  
  1098. @Normal@<:#586,4200><+!><:f240,BHelvetica,0,0,0>Displaying a One-to-Many Relationship on a Form<-!><:f240,6Times New Roman,0,0,0>
  1099.  
  1100. @list@<:#1136,4200>1.    Join the two databases together.  Again, with the example of states, we might have two files with the following fields:
  1101.  
  1102. @list@<:#852,4200>2.    Go into Approach's design mode by clicking on the pencil icon in the toolbar.
  1103.  
  1104. @list@<:#284,4200>
  1105.  
  1106. @Normal@<:#1642,4200><:f200,FArial,0,0,0>    <:f200,FArial,0,0,0>The two files are named <+">State<-"> and 
  1107. <+">Cities<-">.  They are joined on the field <+">St_Abbr<-">, the 2 letter abbreviation of the state name.<**><:f200,FArial,0,0,0><**><+"><:f200,FArial,0,0,0>State<-"> also contains a field for the full state name, 
  1108. <+">St_Name<-">.  <+">Cities<-"> also contains a field for the city name, 
  1109. <+">City_Name<-">.    <:f200,FArial,0,0,0>
  1110.  
  1111. @list@<:#284,4200>
  1112.  
  1113. @list@<:#2556,4200>3.    Select Create Form from the Design Menu.  Add the fields for <+">State<-">.  The file name that's showing when you click 'okay' from this dialog is the main file for the new form.  Because we're only adding the 
  1114. <+">State<-"> fields, the <+">State<-"> file should still be selected.  If not, make sure 
  1115. <+">State<-"> is showing in the dialog and click okay to create the form.
  1116.  
  1117. @list@<:#1988,4200>4.    The new form is drawn out using just the two fields from <+">State<-">.  Switch to Browse by clicking on the Browse button in the toolbar.  Notice as you browse the records how the information from just one 
  1118. <+">State<-"> record is shown on each form.
  1119.  
  1120. @list@<:#3124,4200>5.    Switch to Design mode again.  From under the Design Menu select Add Repeating Panel.  When the dialog for the repeating panel comes up, make sure the panel is based on the 
  1121. <+">Cities<-"> file.  Move just the <+">City_Name<-"> field to the right side of the dialog; this is the only field that will display in the repeating panel.  Leave all other panel options set to the defaults.  Click okay and the panel will be added to the 
  1122. form.  
  1123.  
  1124. @Normal@<:#231,4200><:f200,FArial,0,0,0>
  1125.  
  1126. @Normal@<:#1440,4200><+"><:f><[>Design Tip:  If you need to move the repeating panel, click within with the panel with the right mouse button.  The panel is highlighted in blue.  While still holding down the button you can move the panel to where you'd like it placed on the for
  1127. m.]<-"><:f200,FArial,0,0,0>
  1128.  
  1129. @Normal@<:#231,4200><:f200,FArial,0,0,0>
  1130.  
  1131. @list@<:#2556,4200>6.    Switch to Browse mode again.  You'll see the city names from each state listed in the repeating panel.  If there are fewer cities than rows in the repeating panel, you'll see them all listed.  If there are more than five, the panel will have a scroll bar
  1132. .  You can scroll within the panel to look at all the entries.
  1133.  
  1134. @Normal@<:#231,4200><:f200,FArial,0,0,0>
  1135.  
  1136. @list@<:#2840,4200>    If you need to print the one-to-many information, the form may not be the most efficient method.  In the form there's a limit of 30 of rows that can be displayed in a repeating panel.  The form won't be able to print more rows than are displayed in the rep
  1137. eating panel.  Why?  Because the form is intended for browsing and data entry.  Reports are for printing data.<:f240,FArial,0,0,0>
  1138.  
  1139. @Normal@<:#231,4200><:f200,FArial,0,0,0>
  1140.  
  1141. @list@<:#1420,4200>    To display all the Cities within each State we need a report showing detail, (individual) records from 
  1142. <+">Cities<-"> and summarizing on the join field, <+">St_Abbr<-">, from 
  1143. <+">State<-">.
  1144.  
  1145. @Normal@<:#231,4200><:f200,FArial,0,0,0>
  1146.  
  1147. @Normal@<:#293,4200><+!><:f240,BHelvetica,0,0,0>Creating the Report<-!><:f200,FArial,0,0,0>
  1148.  
  1149. @list@<:#2840,4200>1.    Switch to Design.  This time, select Create Report from the Design menu.  Because we want to display each individual city name, this time the report will be based on 
  1150. <+">Cities<-">.  Add the field <+">City_Name<-"> to the right side of the dialog.  Choose a columnar report with one column.  Make sure the 
  1151. <+">Cities<-"> file name is still showing and click okay to create the report.
  1152.  
  1153. @Normal@<:#231,4200><:f200,FArial,0,0,0>
  1154.  
  1155. @list@<:#2272,4200>2.    At this point the report will contain a header, with the text label "City_Name" and a body panel, the region of the screen containing the field 
  1156. <+">City_Name<-">.  This body panel is where each individual record in the 
  1157. <+">Cities<-"> database will be displayed; it's based on the <+">Cities 
  1158. <-">file.
  1159.  
  1160. @Normal@<:#231,4200><:f200,FArial,0,0,0>
  1161.  
  1162. @list@<:#2556,4200>3.    From the Design menu select Add Summary.  In the Summary dialog choose "A Group Sorted on 
  1163. <+">St_Abbr<-"> from the file <+">State<-">."  At the bottom of the dialog select center and leading.  Click okay.  A new summary panel, a box outlined in blue, is added to the report between the header and the body panel.
  1164.  
  1165. @Normal@<:#231,4200><:f200,FArial,0,0,0>
  1166.  
  1167. @list@<:#2272,4200>4.    Using the field tool from the toolbar at the top of the report, add the 
  1168. <+">St_Name<-"> field into the summary panel.  After drawing out the field use the Field Style dialog to deselect the label and borders, if those are set.  Click okay to close Field Style.  Make sure that this field is fully within the Summary Panel.
  1169.  
  1170. @Normal@<:#231,4200><:f200,FArial,0,0,0>
  1171.  
  1172. @Normal@<:#3976,4200><+"><:f240,6Times New Roman,0,0,0><[>Design tip:  A new field can also be added by selecting an existing field, choosing Copy from the edit menu, clicking where you want the field added, and then selecting Paste from the Edit menu.  The field that's pasted 
  1173. in will be the same field as the one that was copied.  Double-click on the new field to bring up the Field Style dialog.  Within this dialog you can select an existing field, and click okay; the pasted field will now be the field that you picked.  Or, if th
  1174. e new field hasn't been added yet, go into Field Definition from Field Style to add a new field.]
  1175.  
  1176. @Normal@<:#231,4200><+"><-"><:f200,FArial,0,0,0>
  1177.  
  1178. @list@<:#3124,4200>5.    Switch to Browse mode.  Only see City listings? That's natural.  Summary panels only display in Preview Mode.  Press the Preview button or select Preview from the File menu to display the report.  The report repeats the body panel as often as necessary, 
  1179. once for each city.  The states are only included once, with the cities within a state grouped together and listed under the state they're related to.
  1180.  
  1181. @Normal@<:#231,4200><:f200,FArial,0,0,0>
  1182.  
  1183. @list@<:#3124,4200>    When should you choose a form?  When a report?  If the information will be printed, especially if the total amount of information isn't known, use a report.  For data entry or display on screen, typically a form is used.  There are always exceptions, this 
  1184. is just a general guide.  Once you understand this example, though, you'll be able to apply this to many other one-to-many relationships within Approach.
  1185.  
  1186. >
  1187.  
  1188. [Embedded]
  1189. 00015560
  1190.