home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / mbug / mbug073.arc / GENELOGY.LBR / README < prev    next >
Text File  |  1979-12-31  |  9KB  |  183 lines

  1. .po2
  2. .pl70
  3. SOME NOTES ON "FAMILY RECORDS"                    F. Northey (CMUG)
  4.  
  5. Thi≤ se⌠ oµ program≤ run≤ unde≥ dBAS┼ I╔ v«á 2.4▒ anΣ wa≤ writteε t∩á storσ ì
  6. anΣá manipulatσá genealogica∞á datß t∩ producσ variou≤á style≤á oµá report≤ ì
  7. and charts.
  8.  
  9. I⌠ wa≤ intendeΣ onl∙ fo≥ thσ author'≤ usσ bu⌠ ma∙ bσ oµ interes⌠ t∩ others¼ ì
  10. eithe≥á fo≥ direc⌠ usσ o≥ a≤ ß basi≤ fo≥ modificatioε t∩ thei≥ owε desires« ì
  11. Iεá thσ latte≥ casσ ß fairl∙ gooΣ knowledgσ oµ dBasσ programminτá woulΣá bσ ì
  12. desirable« Ver∙ fe≈ prograφ comment≤ arσ included.
  13.  
  14. Thσá prograφá wa≤ writteε fo≥ ß Microbeσ AP├ I╔ witΦ dua∞ 390δ disδá drive≤ ì
  15. anΣ ß ├ ITO╚ 851░ paralle∞ printer« A≤ written¼ i⌠ wil∞ no⌠ ruε oε ß singlσ ì
  16. disδ drivσ machine«á User≤ oµ othe≥ printer≤ wil∞ neeΣ t∩ alte≥ thσ printe≥ ì
  17. contro∞ codes¼á scattereΣ throughou⌠ thσ programs¼ t∩ sui⌠ thei≥ particula≥ ì
  18. printer«á Don'⌠á changσá thσá "CHR(27)+'Y'"≤á a≤á thesσá arσá partialscreeε ì
  19. clearinτ command≤ fo≥ thσ Microbeσ screeε - NO╘ printe≥ commands«á Seσ Notσ ì
  20. **¬ belo≈ fo≥ ITO╚ contro∞ codes.
  21.  
  22. I⌠á caεá copσá witΦá abou⌠ 200░ record≤ oε ß 390δá disδá - morσá oεá large≥ ì
  23. capacit∙ disks« 
  24.  
  25. Thσá prograφá i≤ men⌡ driven«á A⌠ eacΦ stagσ iµ aε unsuitablσá responsσá i≤ ì
  26. giveε i⌠ wil∞ no⌠ bσ accepteΣ anΣ anothe≥ responsσ requested« 
  27.   
  28. The database (FAMILY.DBF) file is structured as follows:-
  29.  
  30. Field name           Stores            Type    Length
  31. ----------      ---------------------------    -----    ------
  32. SURNAME         Person's surname        C    12
  33. FIRSTNMS       "      given names        C    25
  34. BORNDATE       "      birth date        C    11
  35. BORNAT            "        "   place        C    30
  36. DIEDDATE       "      death date        C    11
  37. DIEDAT           "         "  place        C    30
  38. WEDDATE           "      marriage date        C    11
  39. WEDAT           "         "     place    C    30
  40. SPOUSE1           "      1st spouse's pointer    N    4
  41. SPOUSE2           "      2nd   "        "    N    4
  42. KID           "      1st child's    "    N    4
  43. SIB           "      Next sibling   "    N    4
  44. FATH           "      Father's       "    N    4
  45. MOTH           "      Mother's     "    N    4
  46.  
  47. Notes: Only 2 spouses per subject are catered for. 
  48.        Pointers are used to link records, i.e., the person's record
  49.        contains the record numbers for his/her 1st spouse, 2nd spouse, 
  50.        1st child, next sibling, father and mother (if any, in each
  51.        case). If there is no pointer, e.g., no 2nd spouse or no next
  52.        sibling, etc., a 0 is stored automatically.  
  53.  
  54. Becausσá oµ thσ usσ oµ recorΣ number≤ a≤ pointer≤ N╧ allowancσ i≤ madσá fo≥ ì
  55. deletioε oµ record≤ oncσ the∙ arσ entered.
  56. However¼á ful∞á editinτ oµ al∞ record≤ i≤ possiblσ and¼á becausσá oµá this¼ ì
  57. unwanteΣ record≤ ma∙ bσ re-useΣ b∙ ditinτ ou⌠ thσ olΣ datß anΣ substitutinτ ì
  58. thσ new.
  59.  
  60. Thσá Inde° (NAMES.NDX⌐ filσ i≤ indexeΣ oε "surname-firstnmsó t∩ enablσá thσ ì
  61. productioε oµ list≤ iε truσ surnamσ anΣ firs⌠ name≤ order.è
  62. Therσ i≤ ß furthe≥ filσ used¼á NOTES.DBF¼á whicΦ consist≤ oµ onl∙ onσ fielΣ ì
  63. nameΣá LIN┼á oµ typσ ├ anΣ lengtΦ 80«á Thi≤ hold≤ onσ linσ oµá biographica∞ ì
  64. datßá fo≥á ßá subject«á ┴ numbe≥ oµ line≤ ma∙ bσ devoteΣá t∩á ßá particula≥ ì
  65. subject« 
  66. ThrougΦááá thσááá usσááá oµááá ßááá Wordsta≥ááá generateΣááá ASCI╔ááá file¼ ì
  67. "NOTES.TXT",biographica∞á note≤ oε ß subjec⌠ ma∙ bσ storeΣ anΣ printeΣá ou⌠ ì
  68. oεá thσá Grou≡ shee⌠ option«á I⌠ i≤ necessar∙ t∩ qui⌠ thσ "FAMIL┘á RECORDSó ì
  69. prograφ anΣ ente≥ Wordstar¼á iε thσ "noε documentó mode¼á t∩ adΣ t∩ o≥ edi⌠ ì
  70. thesσ notes«á Then¼á afte≥ thσ addition≤ o≥ editing¼á returε t∩ thσ "FAMIL┘ ì
  71. RECORDSó prograφ and¼ unde≥ thσ <U>pdatσ Note≤ optioε transfe≥ thσ W╙ note≤ ì
  72. t∩ thσ NOTES.DB╞ filσ fo≥ subsequen⌠ use.
  73.  
  74. T∩á ente≥ note≤ t∩ thσ NOTES.TX╘ filσ usσ thσ recorΣ numbe≥ fo≥ thσá persoε ì
  75. firs⌠ followeΣ b∙ ▓ space≤ theε thσ tex⌠ oµ thσ firs⌠ line«á Furthe≥á line≤ ì
  76. ma∙á bσ entered¼á thσ onl∙ restrictioε beinτ tha⌠ the∙ mus⌠ no⌠ star⌠á witΦ ì
  77. numbers«á EacΦá linσá mus⌠ bσ endeΣ b∙ ß <RETURN>anΣ mus⌠ bσ les≤á thaεá 8░ ì
  78. character≤ long« 
  79. I⌠á i≤á no⌠ necessar∙ t∩ havσ entrie≤ fo≥ al∞ recorΣ number≤ anΣ the∙á neeΣ ì
  80. no⌠ bσ iε order¼ althougΦ i⌠ make≤ i⌠ easie≥ t∩ adΣ o≥ edi⌠ iµ the∙ are.
  81. Typical entries would look like this on a Wordstar screen:-
  82.  
  83. 1  Certificates: Birth, Death.                                         <
  84. Occupation: farmer. Had properties at Eugowra NSW and Albury NSW.      <
  85. He was a lay preacher for many years and a member of the NSW           <
  86. Association of Primary Producers.                                      <
  87. 4  Sources: Baptism IGI, Death Vic. BDM Index. Buried Coburg Vic.      <
  88. cemetery.                                                              <
  89. 112  No record of marriage can be found.                               <
  90.  
  91.  
  92. INITIAL STEPS
  93.  
  94. Place a blank formatted sysgen'd disk in drive B: and the supplied 
  95. program disk in drive A:.
  96. Copy the contents of the program disk by issuing the command 
  97. CP A:*.* B: or your equivalent command. 
  98. Then copy your DBASE.COM and DBASEOVR.COM to the disk in drive B:
  99. Mark this disk "Family Records Program"
  100. Now place another blank disk in drive B:. Copy the empty database 
  101. file to this disk by issuing the command CP FAMILY.DBF B: 
  102. Mark this disk "Family Records Database".
  103. You now have your two working disks.
  104. Store the supplied program disk away in case you need it again.
  105.  
  106. RUNNING THE PROGRAM
  107.  
  108. Placσ thσ Prograφ disδ iε drivσ A║á anΣ thσ Databasσ disδ iε drivσ B║á Froφ ì
  109. thσ keyboarΣ ente≥ "DBAS┼ FAMILY"« 
  110. Thσá prograφ wil∞ loaΣ anΣ sho≈ thσ openinτ screeε askinτ fo≥ thσ datσá anΣ ì
  111. sizσ oµ pape≥ yo⌡ arσ using« 
  112. Respond to these and the main menu will be presented. 
  113. .paèIMPORTANT
  114.  
  115. Oεá INITIA╠á US┼ oµ thσ program¼á yo⌡ MUS╘ star⌠ b∙ enterinτ somσá records« ì
  116. Subsequentl∙ yo⌡ ma∙ selec⌠ an∙ optioε yo⌡ desire«á Fo≥ no≈ selec⌠ thσá <A╛ ì
  117. option«á Theε answe≥ "Yó t∩ thσ questioε abou⌠ "morσ record≤ t∩ enter"« Thσ ì
  118. screeεá wil∞ theε sho≈ ß blanδ forφ containinτ thσ abovσ fields«á Yo⌡á theε ì
  119. fil∞ theφ in«á Iµ yo⌡ havσ nothinτ t∩ ente≥ iε ß fielΣ jus⌠ ente≥ <RETURN>« ì
  120. Thσá screeε show≤ ho≈ mucΦ rooφ i≤ iε eacΦ field«á Iµ yo⌡ overflo≈ ßá fielΣ ì
  121. thσá curso≥á wil∞ automaticall∙ dro≡ dowε t∩ thσ nex⌠ field«á S∩ watcΦá thσ ì
  122. screeε a≤ yo⌡ ente≥ data«á Yo⌡ ma∙ usσ CTR╠ E¼á CTR╠ X¼á t∩ g∩ u≡ anΣá dowε ì
  123. field≤á anΣ CTR╠ ┘ t∩ removσ datß froφ ß field«á Pres≤ CTR╠ ╫ wheε yo⌡ havσ ì
  124. finisheΣ enterinτ datß iε ß record.
  125.  
  126. Surname≤á shoulΣ bσ entereΣ al∞ iε capital≤ e.g«á SMITH¼á excep⌠ fo≥á name≤ ì
  127. likσ McLEO─ o≥ MacNALLY¼á whicΦ shoulΣ bσ entereΣ a≤ shown« Date≤ shoulΣ bσ ì
  128. iε thσ forφ dd/mm/yyyy¼á e.g« 11/12/183╡ o≥ 7/8/189░ etc« ╔ havσ useΣ ß "*ó ì
  129. precedinτá ß datσ t∩ indicatσ tha⌠ ß datσ i≤ ß baptisφ rathe≥ thaε ß birth¼ ì
  130. e.g«á *17/12/1815¼á ß "c.ó t∩ indicatσ circß o≥ about¼á e.g« c.1812« Iµ yo⌡ ì
  131. usσ thesσ the∙ wil∞ matcΦ u≡ witΦ explanation≤ oε somσ oµ thσ charts« 
  132.  
  133. Makσ surσ tha⌠ yo⌡ ente≥ thσ correc⌠ recorΣ pointe≥ number≤ o≥ yo⌡ ma∙ finΣ ì
  134. tha⌠ outpu⌠ chart≤ arσ garbage«á T∩ preven⌠ thi≤ i⌠ i≤ recommendeΣ tha⌠ yo⌡ ì
  135. star⌠ witΦ ß lis⌠ oµ thσ peoplσ tha⌠ yo⌡ arσ goinτ t∩ ente≥ anΣ assigε theφ ì
  136. recorΣá number≤ tha⌠ matcΦ up«á EacΦ recorΣ i≤ automaticall∙á assigneΣá thσ ì
  137. nex⌠á recorΣ numbe≥ a≤ yo⌡ ente≥ theφ b∙ dBase«á Thσ to≡ lef⌠ oµ thσ screeε ì
  138. show≤ thσ Las⌠ RecorΣ No« a⌠ an∙ time.
  139.  
  140. Iµá yo⌡ realisσ afte≥ exitinτ ß recorΣ tha⌠ yo⌡ havσ madσ aε erro≥ o≥á havσ ì
  141. morσá datßá t∩á ente≥á yo⌡ ma∙ edi⌠ tha⌠ recorΣ b∙á usinτá thσá <E╛á optioε ì
  142. presenteΣ afte≥ selectinτ thσ <A╛ option.
  143.  
  144.  
  145.  
  146. Iε SUBSEQUEN╘ SESSION╙ yo⌡ ma∙ usσ thσ othe≥ option≤ available«á Makσá you≥ ì
  147. choicσá b∙ respondinτ witΦ thσ firs⌠ lette≥ oµ thσ option«á Thσ casσ oµ thσ ì
  148. responsσ ma∙ bσ uppe≥ o≥ lower« 
  149. Theεá answe≥á thσ question≤ a≤ the∙ appea≥ unti∞ thσ char⌠á o≥á displa∙á i≤ ì
  150. produced.
  151.  
  152. Iεá enterinτá recorΣ numbers¼á thσ <RETURN╛ ke∙ mus⌠ bσ presseΣ unles≤á thσ ì
  153. recorΣ numbe≥ i≤ ┤ digit≤ long« 
  154.  
  155. Somσ type≤ oµ outpu⌠ ma∙ looδ somewha⌠ mess∙ oε thσ screen« Thi≤ i≤ becausσ ì
  156. the∙ arσ morσ thaε 8░ column≤ wide«á Thesσ arσ reall∙ designeΣ fo≥á printe≥ ì
  157. outpu⌠ iε condenseΣ mode.
  158. .paèNote ***
  159. Fo≥á thosσá wishinτ t∩ conver⌠ t∩ anothe≥ printer¼á thσá followinτá contro∞ ì
  160. code≤ iε dBasσ stylσ se⌠ somσ printinτ mode≤ oµ ß ├ ITO╚ 851░ printer.
  161.  
  162. CODE            Selects
  163. ----            -------
  164. chr(27)+"E"        Elite font 
  165. chr(27)+"N"        Pica font
  166. chr(27)+"Q"        Compressed (Condensed) font
  167. chr(27)+"P"        Proportional font
  168. chr(27)+"X"        Underline On
  169. chr(27)+"Y"        Underline Off
  170. chr(27)+"A"        normal (1/6 inch) line feed
  171. chr(27)+"B"        1/8 inch line feed
  172. chr(27)+"Tnnn"        nn/144 inch line feed 
  173. chr(27)+"Lnnn"        Left margin of nnn spaces
  174. chr(27)+">"        Uni-directional printing
  175. chr(27)+"<"        Bi-directional printing
  176. chr(27)+"]"        Logic seeking mode
  177. chr(27)+"["        Incremental mode
  178. chr(27)+"$"        USA character set
  179. chr(27)+"#"        Graphics character set
  180.             (Those used may not be available on 
  181.             other printers). Probably better to
  182.             use the screen display set.
  183. .paè