home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / datamage.zip / HELPFILS.ZIP / FINDRECD.HLP < prev    next >
Text File  |  1990-11-17  |  6KB  |  135 lines

  1. "FIND RECORD HELP"
  2.  
  3. "This function finds records in the file without reading  each  record"
  4. "form disk and examining its' content.  To find records in this manner"
  5. "the program uses INDEXES."
  6.  
  7. "SEARCH TYPES"
  8.  
  9. "RECORD NUMBERS"
  10.  
  11. "The user-assigned record numbers are always present.  They are stored"
  12. "in memory and can be found in a hurry.  Since the  DATAMAGE  does not"
  13. "allow duplication of record numbers  they constitute a  unique  index"
  14. "into all DATAMAGE files."
  15.  
  16.  
  17.  
  18. "FILE INDEXES"
  19.  
  20. "DATAMAGE can index up to five string fields.   The  FILE INDEXES  are"
  21. "stored in their own file on the current  drive, and have ten bytes of"
  22. "data for each  record in the datafile.   These  FILE INDEXES  are not"
  23. "maintained in any order, and are searched from the first to the last."
  24.  
  25. "BINARY INDEXES"
  26.  
  27. "DATAMAGE BINARY INDEXES need no file on disk.  To make a BINARY INDEX"
  28. "into any  file on any  field(s) within that file all you do  is  sort"
  29. "the current group of records into order  on that  data.   The  BINARY"
  30. "INDEX will exist in memory,  and the sorting target will be available"
  31. "for the (almost instantaneous) BINARY SEARCH."
  32.  
  33. "Your binary index may be recorded to disk  for  the purpose of saving"
  34. "time when you need to place the records in order again.   The  BINARY"
  35. "INDEXES are automatic;  when records  are entered or updated the new"
  36. "data is placed into the order where it should go."
  37.  
  38. "The MARKER FILE (F-10) help screens describe how to maintain a BINARY"
  39. "index. Please see this help screen if you wish to keep BINARY INDEXES"
  40. "on disk for your files."
  41.  
  42. "To get a more detailed picture of indexing refer  to  the instructions"
  43. "for  THE DATAMAGE.  You do not need to understand file indexing to use"
  44. "the find function; you need only to know the field you wish to search,"
  45. "and the value you wish to find."
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52. "FINDING A RECORD"
  53.  
  54. "After pressing F-5 to find a record your dialog  box will  offer  your"
  55. "three search modes:  RECORD NUMBERS,  FILE INDEXES and  BINARY SEARCH."
  56. "If you opt for a feature unavailable at the  present  time,  such as a"
  57. "FILE INDEX  search in a file with no indexes or a  BINARY SEARCH  when"
  58. "your group is not in order an error message will appear."
  59.  
  60. "SEARCHING RECORD NUMBERS"
  61.  
  62. "When searching the  RECORD NUMBERS  you will be prompted  for only the"
  63. "value for which you are  searching.  If a match is not found a message"
  64. "appears.  If a record is found you are returned to the  BROWSE  screen"
  65. "with your flasher on it."
  66.  
  67.  
  68.  
  69. "SEARCHING FILE INDEXES"
  70.  
  71. "When you opt to search via the file indexes the program prompts you to"
  72. "enter the desired value in all fields declared  as indexed in the cur-"
  73. "rent datafile. To skip a field simply press return. Enter the value(s)"
  74. "you're searching for in the proper field(s)."
  75.  
  76. "For each of the indexes you opt to search  you  may  also  select  the"
  77. "matching mode.   You may match on strict equality  or  opt  to  ignore"
  78. "case, spacing and punctuation."
  79.  
  80. "If a match is found the record is read and displayed.  You  then  have"
  81. "the option of accepting the record that was displayed,  or  continuing"
  82. "the index search.  If you get through the search without finding  your"
  83. "record you may try the same search again and re-enter the search data,"
  84. "or abort the search."
  85.  
  86. "SEARCHING BINARY INDEXES"
  87.  
  88. "The binary search will prompt  you for all of the  current levels,  of"
  89. "which there can be up to eight.   You must make an entry to  get  past"
  90. "a level, but, unlike the FILE INDEX search,  it makes no difference if"
  91. "you find a match.  When you bypass a level by entering nothing into it"
  92. "the search is executed on the levels you entered."
  93.  
  94. "The FILE INDEXES are based upon  finding a record in the file that has"
  95. "a match for the data you entered.  The BINARY INDEXES are  based  upon"
  96. "order, and could care less whether  or  not there is a record that has"
  97. "the search data, though they can be used to find records."
  98.  
  99. "You may have a file in order on several fields. You may use the BINARY"
  100. "SEARCH function to simply go somewhere in the  BROWSE display.  To the"
  101. "first record for whatever, the rest of which follow in the BROWSE."
  102.  
  103. "The BINARY SEARCH routine is so frequently used to find a place in the"
  104. "order that it does not enunciate a match. The beep and the four second"
  105. "wait would,  no doubt,  be quite annoying.  The  BINARY SEARCH  always"
  106. "takes you to the place in the order where your entry  should/would be."
  107. "To verify a match just press return and look at the record."
  108.  
  109. "IGNORING CASE, SPACING AND CONSECUTIVE LETTERS"
  110.  
  111. "When case and spacing are ignored double letters are also dis-regarded"
  112. "during the search.  If we're looking for Dorothy the ice skating lady,"
  113. "we don't care if it's Hamel, Hammel, Hammell or Hamell. We can find it"
  114. "by searching for Dorothy Hamel."
  115.  
  116.  
  117.  
  118.  
  119.  
  120. "BUT IT WON'T"
  121.  
  122. "The indexes can't find a record containing BOOM CHEMICALS if you enter"
  123. "BOOM or CHEMICALS as the search string. To search on a partial key use"
  124. "F-7, SELECT RECORDS by ALPHA comparison. This function creates a group"
  125. "of all records containing the search string and allows you  to  browse"
  126. "the results, instead if displaying the matches one-by-one."
  127.  
  128.  
  129.  
  130. "WRAP UP"
  131.  
  132. "Though it seems complicated, finding a record is easy.  Print the con-"
  133. "tents of any record in an indexed file,  then  try the find function a"
  134. "few times.  Just select the index, enter the content, and go."
  135.