home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / BF / BF025A.ZIP / SALE-A30.ZIP / MERGE.DOC < prev    next >
Text File  |  1990-01-16  |  11KB  |  258 lines

  1. ááá 
  2.                           Import or Output Data:
  3.  
  4.                                   Import:
  5.               Import an 11 field ASCII "commß delimitedó file.
  6.                               see option '8'
  7.  
  8.                                   Output:
  9.     WordStar[TM]/MailMerge[TM]/WordPerfect[TM]/Microsoft [TM] Word 4.0
  10.               dBASE III [TM]/SBT [TM]/SourceMate [TM] Output
  11.                        Basica/Output Sequential File
  12.  
  13.                                  Overview:
  14.                                Options 1 - 7
  15.  
  16. Thesσ option≤ creatσ eithe≥ ß WordStar/MailMerge[TM]¼á WordPerfect[TM]¼á o≥ ì
  17. dBAS┼á II╔ [TM▌ datß filσ usinτ thσ datß froφ you≥ Prospect/dBAS┼ II╔ file« ì
  18. Thσ newl∙ createΣ filσ end≤ iε thσ letters║ '.DAT'¼ .DEF'¼ '.SFº o≥ '.DBF'.
  19.  
  20. Iµ useΣ witΦ Wordstar[TM]¼á thσ .DA╘ filσ caε bσ useΣ t∩ prin⌠ forφá letter≤ ì
  21. iεá MailMerge[TM]«á  Al∞ characte≥ field≤ arσ  trimmeΣ oµ trailinτ blank≤ t∩ ì
  22. accommodatσá you≥ forφ letters«á   Alonτ witΦ thi≤ datß file¼á thσá Wordsta≥  ì
  23. optioεá create≤á thσ beginninτ oµ  you≥ forφ lette≥ anΣ put≤ i⌠á iεá ßá filσ ì
  24. endinτá iεá thσ │ letter≤ '.DEFº (containinτ al∞ thσ MailMerge[TM▌á command≤ ì
  25. yo⌡ neeΣ a⌠ thσ star⌠ oµ ß forφ letter)« 
  26.  
  27. Iµá useΣá witΦ WordPerfect[TM]¼á thσ .S╞ filσ i≤ thσ 'Secondar∙á Fileºá tha⌠  ì
  28. WordPerfec⌠á use≤á fo≥ mergσ letters¼á  wherσ eacΦ fielΣ i≤á delimiteΣá witΦ ì
  29. CONTROL-R¼ anΣ eacΦ recorΣ i≤ delimiteΣ witΦ CONTROL-E.]
  30.  
  31. Iµ useΣ witΦ dBAS┼ II╔ [TM]¼á thσ '.DBFº filσ forma⌠ i≤ becominτ ßá standarΣ ì
  32. datßá filσá forma⌠ tha⌠ man∙ othe≥ program≤ arσ usinτ fo≥á thei≥á respectivσ ì
  33. datß impor⌠ function.
  34.  
  35. Wheε useΣ witΦ Microsof⌠ [Reg«á TM▌ WorΣ 4.0¼á thσ '.DATº filσ contain≤ thσ ì
  36. datß o≥ record≤ tha⌠ thσ WorΣ 4.░ mergσ documen⌠ requires« 
  37.  
  38.  
  39.  
  40. Thesσ option≤  wil∞ allo≈ yo⌡ t∩ outpu⌠ thσ ke∙ field≤ iε you≥ prospec⌠ filσ ì
  41. t∩ aε externa∞ tex⌠ filσ tha⌠ can¼á iε turn¼á bσ useΣ b∙ ß worΣ processo≥ t∩ ì
  42. creatσ 'boilerplateº o≥ forφ letter≤ fo≥ yo⌡ automatically.
  43.  
  44. BaseΣá oε you≥ selectioε criteria¼á iµ any¼á thσ prograφ wil∞á outpu⌠á thesσ ì
  45. fields║ 
  46.      Se° ID¼ Firs⌠ name¼ Greeting, Las⌠ name¼ Compan∙ Name¼ Address1/2
  47.               City¼ State¼ Zip, Zip4¼ Phonσ number¼ Comment≤ 
  48.  
  49.  
  50.                                ==============
  51.                                |  OPTION 1: |
  52.                                ==============
  53.  
  54.                              Selection Process:
  55. èA⌠ optioε 1¼ yo⌡ caε inpu⌠ u≡ t∩ ╖ searcΦ criteriß a≤ thσ basi≤ fo≥ 
  56. you≥ worΣ processo≥ mergσ file║ 
  57.  
  58.              Las⌠ Name¼ Firs⌠ Name¼ Company¼ City¼ State¼ Zip,
  59.                                anΣ Comments.
  60.  
  61. Yo⌡á caεá selec⌠ whethe≥ yo⌡ wan⌠ onl∙ thosσ record≤ t∩  bσ  selecteΣá  tha⌠  ì
  62. havσá al∞ oµ criteriß iε ever∙ recorΣ o≥ selec⌠ ou⌠  record≤á regardles≤á oµ ì
  63. thσá numbe≥ oµ  matche≤ madσ pe≥ record¼á  a≤ lonτ a≤ a⌠  leas⌠ onσ matcΦ i≤ ì
  64. madσ iε an∙ onσ recorΣ tha⌠ i≤ selected.
  65.  
  66. Truσ  [o≥ T▌ mean≤ al∞ matche≤ havσ t∩ bσ madσ iε an∙ onσ recorΣ fo≥ i⌠  t∩ 
  67. bσ  selected«   Falsσ  [o≥ F▌ mean≤ tha⌠ a≤ lonτ a≤ onσ matcΦ i≤ madσ iε  ß 
  68. recorΣ i⌠ wil∞ bσ selected.
  69.  
  70.  
  71.  
  72.                          Search Criteria Selection:
  73.                                  Option 1:
  74.  
  75. Yo⌡ caε ente≥ an∙ word¼á  phrase¼  o≥ codσ oε whicΦ t∩  basσ you≥ selection«  ì
  76. Iµá lef⌠ blank¼á  al∞ record≤ wil∞ bσ selecteΣ out«á   Iµ yo⌡ makσ aεá entr∙ ì
  77. here¼á  thσá prograφ wil∞ searcΦ througΦ thσ prospec⌠ filσ  anΣ  selec⌠á ou⌠ ì
  78. onl∙ thosσ record≤ tha⌠ mee⌠ you≥ searcΦ criteria.
  79.  
  80. [Notσ tha⌠ yo⌡ caε havσ u≡ t∩ ╖ differen⌠ code≤ o≥ phrase≤ entereΣ herσá anΣ ì
  81. al∞á  record≤ wil∞ bσ pulleΣ whicΦ havσ an∙ onσ oµ theφ  o≥ an∙  combinatioε ì
  82. oµ them]
  83.  
  84.                                ==============
  85.                                |  OPTION 2: |
  86.                                ==============
  87.                 2)  Output records to Wordstar/Mailmerge[TM]  
  88.               [outputs into a 12 field, comma delimited file]
  89.  
  90.                              fields outputted:
  91.              SEX, FNAME, GREETING, LNAME, PROSPECT, ADDRESS1, 
  92.                  ADDRESS2, CITY, STATE, ZIP, ZIP4, PHONE-1
  93.  
  94. Thi≤á optioε i≤ useΣ t∩ ge⌠ datß froφ thσ Prospec⌠ filσ anΣ outpu⌠ i⌠á t∩á ß ì
  95. filσá tha⌠á caε bσ useΣ b∙ WordStar/MailMerge[TM]«á  Thi≤  filσ caε als∩á bσ ì
  96. useΣ b∙ BASI├ anΣ othe≥ language≤ anΣ products«á Iε short¼á an∙ produc⌠ tha⌠ ì
  97. accept≤á "commß delimitedó file≤ fo≥ inpu⌠ ma∙ accep⌠ thσ  filσá createΣá b∙ ì
  98. thi≤ option.
  99.  
  100. Froφ thσ WordSta≥ option¼á yo⌡ wil∞ creatσ  tw∩ files«á  Thσ firs⌠ filσ namσ ì
  101. end≤á iεá .DE╞ anΣ i≤ ß filσ tha⌠ caε bσ turneΣ int∩ ß forφ lette≥á jus⌠á b∙ ì
  102. callinτá i⌠ u≡ iε WordSta≥ anΣ matchinτ i⌠ t∩ you≥ forφ letter«á  I⌠ alread∙ ì
  103. contain≤á al∞ oµ thσ command≤ needeΣ b∙ WordSta≥ t∩ reaΣ thσá Prospect/dBAS┼ ì
  104. II╔ datß filσ (.DAT).
  105.  
  106. Thσ othe≥  filσ i≤ thσ .DA╘ file¼á whicΦ contain≤ al∞ datß tha⌠ yo⌡ wan⌠á t∩ ì
  107. reaΣá int∩ WordStar«á  I⌠ i≤ formatteΣ sequentia∞ file¼á witΦ al∞ field≤á iε ì
  108. quote≤ anΣ separateΣ b∙ commas« 
  109. è
  110.                                ==============
  111.                                ⁿ  OPTIO╬ 3║ |
  112.                                ==============
  113.  
  114.                    3)  Output records to WordPerfect[TM] 
  115.             [outputs into a 14 field, CONTROL-R delimited file]
  116.  
  117.                              fields outputted:
  118.       SEX,FNAME,GREETING,LNAME,PROSPECT,ADDRESS1,ADDRESS2,CITY,STATE
  119.                     ZIP,ZIP4,PHONE-1,COMMENT1,COMMENT2
  120.  
  121. Thσá .S╞á filσá i≤á thσ 'Secondar∙ Fileº tha⌠  WordPerfec⌠á use≤á fo≥á mergσ ì
  122. letters¼á  wherσ eacΦ fielΣ i≤ delimiteΣ witΦ CONTROL-R¼á anΣ eacΦ recorΣ i≤ ì
  123. delimiteΣ witΦ CONTROL-E.]
  124.  
  125. Bσá surσ t∩ retrievσ thσ 'Secondar∙ Fileº int∩ WordPerfect¼á a⌠ whicΦá timσ ì
  126. WordPerfec⌠ wil∞ inser⌠ it≤ printe≥ codes«  Then¼ whilσ insidσ WordPerfect¼ ì
  127. savσ thσ filσ unde≥ tha⌠ samσ name«á  A⌠ thi≤ point¼á thσ 'Secondar∙á Fileº ì
  128. wil∞ bσ usablσ fo≥ purpose≤ oµ mai∞ merging.
  129.  
  130.  
  131.  
  132.                                ==============
  133.                                |  OPTION 4: |
  134.                                ==============
  135.  
  136.                4)  Output records to dBASE III [Registered TM]
  137.  
  138.  
  139. WitΦá optioεá 4¼á thσ '.DBFº filσ forma⌠ i≤ becominτ ßá standarΣá datßá filσ ì
  140. forma⌠á tha⌠ man∙ othe≥ program≤ arσ usinτ fo≥ thei≥ respectivσ datßá impor⌠ ì
  141. function«  
  142.  
  143. Oncσá yo⌡ assigε ß namσ t∩ thσ dBAS┼ II╔ [TM▌ filσ yo⌡ arσá outputting¼á thσ ì
  144. structurσ oµ tha⌠ filσ is:
  145.  
  146. Field  Field Name  Type       Width    Dec
  147.     1  SEX         Character     19
  148.     2  FNAME       Character     20
  149.     3  GREETING    Character     20
  150.     4  LNAME       Character     20
  151.     5  PROSPECT    Character     40
  152.     6  ADDRESS1    Character     30
  153.     7  ADDRESS2    Character     30
  154.     8  CITY        Character     30
  155.     9  STATE       Character      2
  156.    10  ZIP         Numeric        5
  157.    11  ZIP4        Numeric       4
  158.    12  PHONE_1     Character     13      
  159.    13  COMMENT1    Character     60  
  160.    14  COMMENT2    Character     60     
  161.  
  162. ** Total **                     354  
  163. è
  164.  
  165.                                ==============
  166.                                |  OPTION 5: |
  167.                                ==============
  168.                5)  Output records to Microsoft [TM] Word 4.0
  169.  
  170.               [outputs into a 12 field, comma delimited file]
  171.  
  172.                              fields outputted:
  173.              SEX, FNAME, GREETING, LNAME, PROSPECT, ADDRESS1, 
  174.                  ADDRESS2, CITY, STATE, ZIP, ZIP4, PHONE1
  175.  
  176.  
  177. Thi≤á optioε i≤ useΣ t∩ ge⌠ datß froφ thσ Prospec⌠ filσ anΣ outpu⌠ i⌠ t∩á ß ì
  178. datß filσ tha⌠ caε bσ useΣ b∙ thσ mergσ featurσ iε WorΣ 4.0..
  179.  
  180. You≥ WorΣ 4.░ lette≥ wil∞ contaiε mergσ variable≤ oµ thσ form:
  181.  
  182.                                   <<SEX>>
  183.                                  <<FNAME>>
  184.                                <<GREETING>>
  185.                                  <<LNAME>>
  186.                                <<PROSPECT>>
  187.  
  188. anΣá s∩ on«á  Thesσ mergσ variable≤ arσ identifieΣ iε thσ '.DEFº o≥á heade≥ ì
  189. filσ createΣ b∙ thσ program«á  Thesσ symbols¼á "<<ó anΣ ">>"¼ arσ formeΣ b∙ ì
  190. holdinτ dowε thσ <ALT╛ ke∙ anΣ typinτ 17┤ o≥ 175.
  191.  
  192.  
  193. A⌠á thσá to≡ oµ you≥ WorΣ 4.░ letter¼á yo⌡ wil∞ havσ thi≤ commanΣá (iµá yo⌡ ì
  194. selec⌠ 'TESTº a≤ thσ filσ namσ fo≥ outputtinτ you≥ datß iε optioε 5):
  195.  
  196. <<DATA TEST.DEF, TEST.DAT>>
  197.  
  198. Thi≤á tell≤ WorΣ 4.░ t∩ looδ int∩ TEST.DE╞ fo≥ thσ heade≥ o≥ identificatioε ì
  199. oµ field≤ used╗ anΣ t∩ pul∞ iε TEST.DA╘ fo≥ thσ data.
  200.  
  201. TEST.DA╘ i≤ ß 'commß delimited¼ ASCI╔ file'«  I⌠ contain≤ al∞ datß tha⌠ yo⌡ ì
  202. wan⌠á t∩ reaΣ int∩ WorΣ 4.0«á  I⌠ i≤ formatteΣ sequentia∞á file¼á witΦá al∞ ì
  203. field≤ iε quote≤ anΣ separateΣ b∙ commas« 
  204.  
  205.  
  206.                                ==============
  207.                                |  OPTION 6: |
  208.                                ==============
  209.  
  210. This option will append records directly to the SBT [TM] customer file.
  211.       
  212.   
  213.                                ==============
  214.                                |  OPTION 7: |
  215.                                ==============
  216.  
  217. Thi≤á optioεá wil∞ appenΣ record≤ directl∙ t∩ thσ SourceMatσ [TM▌á custome≥ ìèfile.
  218.   
  219.                                ==============
  220.                                |  OPTION 8: |
  221.                                ==============
  222.  
  223.                         Import data from ASCII file:
  224.  
  225. áááCreatσ aε ASCI╔ "commß delimitedó filσ witΦ thesσ 12 fields:
  226.  
  227. áááFirs⌠ namσ     <=╜ u≡ t∩ 2░ characters
  228. áááLas⌠ namσ      <=╜ u≡ t∩ 2░ characters
  229. áááCompan∙ namσ   <=╜ u≡ t∩ 4░ characters
  230. áááAddres≤ ▒      <=╜ u≡ t∩ 3░ characters¼ firs⌠ linσ oµ addres≤ 
  231. áááAddres≤ ▓á     <=╜ u≡ t∩ 3░ characters¼á2nΣ line¼áiµ any¼ásucΦáa≤ 
  232.                    ááá'Suitσ 214'
  233. áááCit∙           <=╜ u≡ t∩ 3░ characters
  234. áááStatσ          <=╜ tw∩ characte≥ state¼ iµ U.S.A.╗ elsσ leavσ blank
  235. áááZi≡            <=╜ U.S.A« Zi≡ code¼ ╡ characters
  236. áááZi≡4           <=╜ U.S.A« Supplemental Zi≡ code¼ 4 characters
  237. áááPhonσ          <=╜ 1│ character¼ iµ .U.S.A« o≥ Canada« Mus⌠ be
  238.                       in this form:  (214)690-6017
  239.                       Observe character 1 is '(', 5 is ')', and 9 is '-'
  240. áááComment1       <== any comment, up to 60 characters
  241.    Sex ID         <== if used, such as 'Dr.', 'Captain', or 'Reverend'
  242.  
  243. áááOptioεá ╕ wil∞ impor⌠ froφ aε ASCI╔ filσá named║á 'AIMPORT.TXT'«á  Makσ ì
  244. ááásurσ tha⌠ you≥ filσ ha≤ tha⌠ name«á  Oncσ Optioε ╣ i≤ complete¼á g∩á t∩ ì
  245. áááthσáá Othe≥á Option≤á Menu¼áá anΣá selec⌠á Optioεá ╣á froφá tha⌠á menu║ ì
  246. áááRepack/Reinde° records.
  247.  
  248. áááObservσ belo≈ onσ recorΣ iε thσ ASCI╔ "commß delimitedó format:
  249.  
  250.  
  251.    "John D.","Cauble, Jr.","Accounting & Tax Service","11056 Shady Trail",
  252.       "Suite 101","Dallas","TX","75229","0234","(214)357-5454","SIC=4303",""
  253.  
  254.  
  255. áááObservσá tha⌠á "Suitσá 101ó  woulΣ normall∙ follo≈ afte≥á "1105╢á Shad∙ ì
  256. áááTrailóá oεá onσ continuou≤ line«á  Herσ thσ recorΣ i≤ brokeεá int∩á tw∩ ì
  257. áááline≤ onl∙ fo≥ purpose≤ oµ showinτ yo⌡ ho≈ i⌠ looks.
  258.