home *** CD-ROM | disk | FTP | other *** search
/ Oakland CPM Archive / oakcpm.iso / sigm / vol129 / db2sig / m.lbr / DATABASE.DOC < prev    next >
Encoding:
Text File  |  1985-02-10  |  7.9 KB  |  169 lines

  1.             THE AMATEUR COMPUTER GROUP OF NEW JERSEY
  2.  
  3.                               SIG/M
  4.  
  5.                 LIBRARY OF PUBLIC DOMAIN SOFTWARE
  6.  
  7.         A dBASEII Program by Steve Leon for ............
  8.  
  9.             DISK INVENTORY            ORDER PROCESSING
  10.               SHIPPING                   DISK LABELS
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.                           DOCUMENTATION
  19.  
  20.  
  21.  
  22.  
  23.                           INTRODUCTION
  24.  
  25.  
  26.      Iεá SIG/═ Volumσ 11░ wσ issueΣ thσ ACGN╩ datß basσ a≤ botΦ ß 
  27. workinτá datßá basσ anΣ ß tutoria∞ iεá dBASEII«á Tha⌠á serie≤á oµ 
  28. modules¼á patterneΣá afte≥ Adaφ Green'≤ dBASEI╔ USER'╙ GUIDE¼á i≤ 
  29. actuall∙ ß modificatioε oµ ß serie≤ oµ workinτ datß base≤ wσá ruε 
  30. oεá IB═á Displaywriters«á  Thσ ACGN╩ datß basσá work≤á well¼á bu⌠ 
  31. becausσá i⌠á wa≤ intendeΣ t∩ bσ ß tutoria∞ i⌠ lack≤ somσá oµá thσ 
  32. "tricks" use to speed up dBASE application programs.
  33.  
  34.      Oεá thσ ACGN╩ datß basσ wσ als∩ useΣ separatσ screeεá files« ì
  35. Thσá reasoεá fo≥ thi≤ wa≤ t∩ allo≈ yo⌡ t∩ adap⌠ i⌠ fo≥á you≥á owε ì
  36. need≤ witΦ ease«á However¼ fo≥ maximuφ speeΣ disδ call≤ shoulΣ bσ ì
  37. a⌠ ß minimuφ anΣ screen≤ shoulΣ thereforσ bσ iε thσ commanΣ file.
  38.  
  39.  
  40.                        THIS NEW DATA BASE
  41.  
  42.      SIG/═ haΣ somσ problem≤ witΦ shippinτ anΣ inventor∙á manageì
  43. ment¼á al∞ oµ whicΦ werσ solveΣ wheε Gleε DuscΦ tooδ ove≥ contro∞ ì
  44. oµá tha⌠á operation«á Gleεá pu⌠á thσ record≤á int∩á dBAS┼á a≤á aε ì
  45. interactivσá datßá base«á Havinτ jus⌠ purchaseΣ thσá firs⌠á dBAS┼ ì
  46. prograφ generato≥ tha⌠ ╔ wa≤ satisfieΣ with¼á FASTBASE¼ ╔ createΣ ì
  47. aεáá inventor∙á managemen⌠á prograφá fo≥á Gleεá arounΣá thσá datß ì
  48. structurσ hσ haΣ created«á However¼ onσ thinτ FASTBAS┼ diΣ no⌠ d∩ ì
  49. wa≤ allo≈ multiplσ additioε oµ record≤ withou⌠ puttinτ eacΦ addeΣ ì
  50. recorΣá int∩ thσ index«á Stevσ Takifµ oµ Fourcolo≥ Datßá Systems¼ ì
  51. thσá autho≥á oµá FASTBASE¼á indicateΣá tha⌠á mos⌠á peoplσá prefe≥ ì
  52. indexinτá witΦ eacΦ record¼á bu⌠ witΦ thσ SIG/═ orde≥á volumσá wσ ì
  53. though⌠ i⌠ advisablσ t∩ modif∙ thσ program.Wha⌠ starteΣ ou⌠ a≤ ß ì
  54. simplσá modificatioε becamσ ß rewritσ oµ thσ datß basσ incorporaì
  55. tinτ thσ feature≤  oµ FASTBASE«                             
  56. è                     HOW TO USE THE PROGRAM
  57.  
  58.      Extrac⌠á al∞ oµ thσ file≤ froφ thσ .LB╥ filσ ont∩ you≥ dBAS┼ ì
  59. disk« Thσ inde° filσ anΣ tw∩ datß file≤ (.ND╪ anΣ .DBF⌐ caε bσ oε ì
  60. anothe≥á disk«á (Yo⌡ caε put you≥ prograφ file≤ oε an∙ disδá jus⌠ ì
  61. s∩ lonτ a≤ yo⌡ se⌠ you≥ defaul⌠ t∩ tha⌠ drive......Don'⌠ laugΦ a⌠ ì
  62. mσá fo≥á makinτá sucΦ aε obviou≤ statement¼á bu⌠á ╔á spokσá t∩á ß ì
  63. gentlemeεá livinτá '50░ mile≤ nortΦ oµ Torontoº wh∩ calleΣá afte≥ ì
  64. spendinτá halµ ß nigh⌠ gettinτ thσ messagσ tha⌠ thσ commanΣá filσ ì
  65. coulΣ no⌠ bσ found«áì
  66.  
  67.      Thσ prograφ i≤ selµ explanatory«á Fo≥ spacσ reason≤ wσá havσ ì
  68. includeΣá onl∙á ßá fe≈ made-u≡ orde≥ files«á Thσá ful∞á list≤á oµ ì
  69. volume≤á witΦ somσ made-u≡ datß i≤ includeΣ iε STOCK.DBF¼á in case      ì
  70. yo⌡á wan⌠ t∩ labe∞ you≥ SIG/═ volumes«á  Oncσ yo⌡ havσ i⌠ u≡á anΣ ì
  71. runninτ looδ a⌠ thσ codσ anΣ theε begiε thσ joΓ oµ adaptinτ i⌠ t∩ 
  72. you≥ owε requirement≤ (o≥ takσ advantagσ oµ thσ routine≤ anΣ reaΣ 
  73. theφá int∩ you≥ programs)«á Wheε ╔ writσ ß ne≈ applicatioεá usinτ 
  74. thi≤á serie≤á oµ prograφ module≤ ╔ usuall∙ firs⌠ definσ thσá datß 
  75. basσ field≤ anΣ theε usσ FASTBAS┼ o≥ ZI╨ t∩ creatσ ß screeε file« 
  76. WitΦ ß printou⌠ oµ thσ mode¼á lines¼á anΣ promp⌠ requirement≤á iε 
  77. hanΣá i⌠ i≤ ß relativel∙ simplσ tasδ t∩ creatσ ß screeε file«á T∩ 
  78. makσá i⌠ looδ professional¼á tr∙ t∩ linσ u≡ thσ datß a≤á mucΦá a≤ 
  79. possible« 
  80.  
  81.      EacΦá oµá thσá module≤  i≤ selµ explanator∙ anΣá jus⌠á abou⌠ ì
  82. ever∙á linσ iε theφ i≤ therσ fo≥ somσ reasoε (eveε iµ tha⌠ reasoε ì
  83. bσá ou≥ ignorance«á Therefore¼á wσ strongl∙ sugges⌠ yo⌡ reaΣá thσ ì
  84. code«á I⌠á i≤á relativel∙ eas∙ codσ t∩ reaΣ - havinτ beeεá prett∙ ì
  85. printeΣáá witΦá FASTBASE«áá (Thi≤á documentatioεá sounΣá likσáá ß ì
  86. commercia∞á anΣá i⌠á i≤á not«á Thσ fac⌠á i≤á tha⌠á dBASEI╔á i≤á ß ì
  87. magnificen⌠á prograφá anΣá FASTBAS┼ make≤ lifσ witΦ dBAS┼á ßá lo⌠ ì
  88. simpler.⌐á Oε ou≥ actua∞ operationa∞ prograφ wσ useΣ FASTBAS┼á t∩ ì
  89. "squishó al∞ line≤ oµ codσ flusΦ lef⌠ anΣ deleteΣ al∞ comment≤ t∩ ì
  90. increasσ runninτ speed.
  91.  
  92.      Thi≤ prograφ use≤ tw∩ searcΦ methods« Onσ searche≤ thσ inde° ì
  93. filσá fo≥ an∙ lastnamσ o≥ fractioε thereof«á Thσ othe≥ find≤á AN┘ ì
  94. strinτá iε AN┘ field«á Again¼á ╔ didn'⌠ writσ thσ latte≥ program¼ ì
  95. FASTBAS┼ diΣ - anΣ i⌠ i≤ great«á Tha⌠ program¼á SEARCH1.SI╟á als∩ ì
  96. include≤á aεá inde°á searcΦá witΦ ß teεá linσá fas⌠á search«á
  97.  
  98.      Yo⌡á wil∞ finΣ iε thσ prpograφ usefu∞ bit≤á oµá information« ì
  99. Thσá ADD.SI╟ prograφ wherσ wσ reaΣ thσ order≤ int∩ thσ othe≥ datß ì
  100. basσá t∩á determinσá iµ the∙ arσ iε inventor∙á o≥á mus⌠á bσá bacδ ì
  101. ordereΣá anΣá theεá changσá thσ inventor∙ i≤á oµá use«á Thσá datσ ì
  102. verificatioεá routinσ anΣ thσ drivσ selectioε routinσá arσá therσ ì
  103. for you to use, etc, etc, etc.ì
  104.  
  105.                     CHANGES AND MODIFICATIONS
  106.  
  107.      Printe≥á code≤á arσ founΣ iε al∞ program≤ tha⌠ outpu⌠á t∩á ß ì
  108. printer«á Theyá arσá no≈ se⌠ u≡ fo≥ aε OKIDAT┴ 92¼á s∩ makσá you≥ ì
  109. change≤ accordingly«á Thσ prograφ SIG/M.CM─ allow≤ yo⌡ t∩á modif∙ ì
  110. thσá intensit∙á commanΣá - anΣ als∩ eacΦ oµ thσ screeεá filσá "I╞ ìèFIRSTó contain≤ aε intensit∙ call« A⌠ al∞ oµ thσ point≤ wherσ yo⌡ ì
  111. havσ ß drivσ option¼ wσ allo≈ drive≤ A,B,C,─ anΣ M« ╔ sugges⌠ yo⌡ ì
  112. deletσá thσá drive≤á yo⌡á d∩ no⌠ havσá t∩á preven⌠á aεá erroneou≤ ì
  113. selection« (Wσ d∩ no⌠ allo≈ ß backu≡ t∩ ═ drive¼ however.⌐ 
  114.  
  115.                        THE DUAL DATA BASE
  116.  
  117.      Wσá havσ haΣ limiteΣ succes≤ witΦ usσ oµ dua∞ datß bases«á ╔ ì
  118. finΣá tha⌠ SELEC╘ PRIMAR┘ anΣ SELEC╘ SECONDAR┘ causσ morσátroublσ 
  119. thaεá the∙ arσ wortΦ anΣ thereforσ prefe≥ t∩ namσ thσá datßá basσ ì
  120. thσá switcΦá i≤ beinτ madσ to«á Whilσ thi≤ prograφ use≤ tw∩á datß ì
  121. base≤ - i⌠ i≤ no⌠ reall∙ ß dua∞ datß basσ sincσ thσ men⌡á prograφ ì
  122. merel∙á control≤ whicΦ onσ yo⌡ use«á ╔ d∩ usσ dBAS┼ program≤ tha⌠ ì
  123. transfe≥á betweeεá datßá base≤ froφ thσ maiε men⌡á anΣá froφá thσ ì
  124. searcΦá menu«á  Ever∙á s∩ often¼á inspitσ oµ al∞ oµá ou≥á CLEARs¼ ì
  125. RELEASEs¼ SE╘ INDE╪ TOs¼ anΣ USEs¼ ╔ stil∞ ge⌠ ß "TO╧ MAN┘ FILESó ì
  126. erro≥á messagσá anΣá ß do⌠ prompt«á Thi≤ probleφ exist≤á iεá thi≤ ì
  127. program« Iµ yo⌡ g∩ bacδ anΣ fortΦ betweeε thσ datß base≤ froφ thσ ì
  128. startinτ men⌡ - afte≥ abou⌠ ┤ change≤ yo⌡ wil∞ ge⌠ thσ "TO╧á MAN┘ ì
  129. FILESóá erro≥á message«á Therσá probabl∙ i≤ ßá simplσá answe≥á t∩ ì
  130. preven⌠á i⌠á (sor⌠ oµ likσ "CLEA╥ GETSó afte≥ al∞ read≤) - bu⌠á ╔ ì
  131. havσ no⌠ beeε ablσ t∩ solvσ it«á Iµ yo⌡ kno≈ how¼á pleasσ advise« ì
  132. Thσá savinτ facto≥ i≤ tha⌠ iε norma∞ usσ i⌠ jus⌠ no⌠ logica∞á fo≥ ì
  133. yo⌡á t∩á jum≡ bacδ anΣ fortΦ ┤ time≤ betweeε datß base≤ iεá rapiΣ ì
  134. order«á Iµá you≥ applicatioε doe≤ requirσ transfe≥á betweeεá datß ì
  135. bases¼ anΣ yo⌡ arσ carefu∞ t∩ closσ anΣ eliminatσ al∞ indexe≤ anΣ ì
  136. datß files¼ thσ followinτ codσ work≤ wel∞ oε thσ transfe≥ betweeε ì
  137. thσ two:
  138.  
  139.                 CASE COMMAND = 'T'
  140.                 * transfer to individual data base 
  141.                 RELEASE ALL
  142.                 USE
  143.                 STORE t TO first
  144.                 DO search.ind
  145.  
  146.  
  147.                             THE DATE
  148.  
  149.      Thσá datσá verificatioε camσ froφ aε issuσ oµ dNEWS«á I⌠á i≤ ì
  150. certainl∙á wortΦá using«áá Harr∙á Vaεá Tassel∞á wrotσá thσá drivσ ì
  151. selectioε codσ whicΦ include≤ aε interestinτ routinσ t∩ determinσ ì
  152. iµá thσ prograφ i≤ runninτ unde≥ CP/═ 8░ o≥ 86«á Hσ als∩ founΣá ß ì
  153. "hidinτ placeó t∩ drivσ lette≥ storagσ anΣ contributeΣ man∙ othe≥ ì
  154. gooΣ idea≤ t∩ thσ programs.
  155.  
  156.  
  157.                            CONCLUSION
  158.  
  159.  
  160.      An∙ thoughts¼á comment≤ o≥ suggestion≤ woulΣ bσ appreciated« ì
  161. SIG/═á woulΣá als∩á appreciatσ donatioε oµ you≥á datßá base≤á fo≥ ì
  162. releasσá iεá thσ library«á Ou≥ order≤ reflec⌠ the∙á arσá mos⌠á iε ì
  163. demand behind ZCPR and the modem programs.
  164.  
  165. è
  166.                                        Steve Leon
  167.                                        200 Winston Drive
  168.                                        Cliffside Park, NJ 07010
  169.                                        (201) 886-1658
  170. August 26, 1983
  171.