home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / lambda / soundpot / p / px-gbase.lbr / DATABASE.DZC / DATABASE.DOC
Encoding:
Text File  |  1993-10-25  |  8.9 KB  |  190 lines

  1. DATABASE  Version 1.1
  2.  
  3.         DATABASE is a compact 6K database for the Epson Geneva written
  4. in BASIC.  General features include: search, sort and various printout
  5. capabilities.  Special features include: telephone log, numeric
  6. analysis, and graph functions.  Because DATABASE is in BASIC you can
  7. perform complex data manipulations "on the fly" using BASIC's
  8. versatility.
  9.         Before loading, if you do not have a wedge, set the A drive to
  10. about 8k. Or you can set the A drive to zero and then save all data to
  11. the H drive or disk.  About 18K of data can thus be handled.
  12.         The main menu shows startup, save, change, and analyze
  13. features.  If at any time you encounter a BASIC error message or
  14. prompt, pressing key PF 5 (+CR) will return you to the main menu.
  15.  
  16. Type N for New File (CR)
  17.         -erase any unsaved files? Type Y (CR)
  18.         -file name? Type in name (CR)
  19.         -how many records? The max. is 254. Set more than you plan to
  20. use, but large numbers take up more memory, even if all the records
  21. are unused.
  22.         -fields per record? Max. is again 254. You can go up to 254
  23. characters in length for each field.  Having 1-2 spare fields is a
  24. good idea.
  25.         -what is first field name? Type in name.
  26.         -what is second field name? Type in name...etc.
  27.  
  28. ADD A RECORD
  29.         -lst record, type A at the main menu and enter information for
  30. each field.  A record is like a row of information, a field is like a
  31. column within the rows.  Database beeps at the end of each record.
  32.         -next record, type A at the main menu and type in the info.
  33. Entering a single carat (^) in any field will cause DATABASE to repeat
  34. the information for that field from the previous record.
  35.  
  36. SORTING
  37.         -Sorting is done on the first letters or numbers of the field
  38. being sorted.  All fields are sorted based on the order of the
  39. information in the field selected for sorting.
  40.         -type B for bubble sort
  41.         -sort on which field? Enter field number by which you wish to
  42. sort.
  43.         -alpha/numeric sort? Type N for numeric, A for alphabetic.
  44.  
  45. CHANGE
  46.         To change a field within a record while entering, note the
  47. record and field number of the mistake.  Finish entering data on all
  48. fields then use the change command to make corrections.  To change an
  49. entire record, remove it and then reenter it.
  50.         -Type C to change a record
  51.         -which record? enter record number
  52.         -which field? enter field number, then type in new information.
  53.  
  54. EXITING DATABASE
  55.         -It's very important to exit the program properly, otherwise
  56. you may have put the Geneva into a mode which sends all printing to
  57. the screen (handy at times, but not in general).  So always use the E
  58. command to exit.  You'll have a chance to save your work as you exit.
  59.  
  60. FIND AND PRINT
  61.         This is DATABASE's most powerful feature.  It allows you to
  62. search the file you've created and printout records in various
  63. formats.  Searches find all records that contain the search
  64. information in the field being searched (e.g. searching for "549" in a
  65. zip code field will discover records containing "54925","65491"...etc.
  66. in their zip code field).  Multiple field searches discover records
  67. that simultaneously satisfy the search requirements for all selected
  68. fields.
  69.         -defaults are in brackets
  70.         -(Screen) or printer? Hit return for the screen or P for the
  71. printer.
  72.         -(mailing labels) envelopes, count, display or report?  Mailing
  73. labels gives you a single column printout.  Envelope pauses after
  74. printing each record so you can load your printer with the next
  75. envelope.  Count displays the number of records that meet your search
  76. criteria.  Display shows all info in the file.  Report prints out a
  77. columnar display.
  78.         -number of copies? Default is 1.
  79.         -start printing at tab number?  The tab number refers to the
  80. column number where printing will start. (Return) for column 1.
  81.         -number of fields or lines to print?  Enter the total number
  82. you wish to print, including blank lines.
  83.         -enter zero for a line feed.  Each zero entered gives you one
  84. line feed at that point in the printing.
  85.         -line one's field number?  Type in first field's number you
  86. want to print...etc.
  87.         -search or print all records? "All" prints out all fields
  88. selected for printing.  Search looks for specific information that you
  89. entered in some records and prints out those records that meet the
  90. search criteria.
  91.         -how many fields do you want to search? Can be done on 1 to 10
  92. fields simultaneously.  Specify # of fields you want to search.
  93.         -search one's field number? enter # and enter search criteria
  94. for that field...etc.
  95.         DATABASE will then display, print or count the records which
  96. meet all search criteria.
  97.  
  98. SAVE
  99.         -type S at the main menu to save. (can be done at any time)
  100.         -which drive? Shows what is on the drive.
  101.         -how do you want to name this file?  Type the name, DATABASE
  102. automatically adds the .DTA extension for data file.
  103.  
  104. INPUT
  105.         -type I at the main menu to input a file.
  106.         -erase any unsaved files? enter Y or DATABASE will bring you
  107. back to the menu.
  108.         -type the filename without the .DTA because DATABASE
  109. automatically recognizes this.
  110.  
  111. PARAMETERS
  112.         -type P for Parameters at the main menu. This shows the field
  113. names, how many records are available, how many records are used and
  114. how many bytes of memory are left. Once set, the parameters can only
  115. be changed by altering variables in BASIC (See Advanced Programming).
  116.  
  117. SUM
  118.         -type U from the main menu to sum the value of a field over all
  119. records.
  120.         -which field do you want to add up? Enter the number.
  121.  
  122. TELEPHONE LOG
  123.         You can create a phone log that matches the usual telephone
  124. bill format. Use the report format to print out the phone log.
  125.         -open a New File having at least 4 fields.  Call the first
  126. field: "Tel. #", the 2nd: "Time on", the 3rd: "Time off", the 4th:
  127. "Minutes".  Whenever you wish to log a call, enter the telephone
  128. number in field 1.  Press PF 2 when adding the time you're beginning
  129. the call.  As soon as (return) is pressed DATABASE will read the
  130. Geneva's clock and enter the date and time.  Enter PF 3 in field 3 as
  131. soon as you finish the call and DATABASE will enter the time into that
  132. field.  Leave the "Minutes" field blank, since that will be computed
  133. by DATABASE.  To compute the current total minutes logged:
  134.         -enter T at the main menu.
  135.         -Answer Y to the "Alter field 4?" prompt.  This allows DATABASE
  136. change any existing data in each record to become the difference
  137. between the time off and the time on.
  138.         -the current total minutes will be displayed on the screen.
  139. Times are rounded to the nearest minute, beginning with 1/2 minute.
  140. (Note to nightowls: Calls made during midnight cannot be processed.)
  141.  
  142. % GROWTH
  143.         This is a specialized data analysis function to determine the
  144. percentage change in value when comparing fields 2 and 3.  The percent
  145. change is computed and stored in field 4.
  146.         -to use this function set up a data file having at least 4
  147. fields.
  148.         -in fields 2 & 3 enter values you wish to track for growth.
  149.         -type V from the main menu to evaluate growth from field 2 to
  150. field 3.
  151.  
  152. XY GRAPH ANALYSIS
  153.         The graph function will display data from any two fields having
  154. numeric data.  An X-Y scatterplot will be windowed so that all values
  155. will just fit within the graph area.
  156.         -enter data in records
  157.         -type x at the main menu.
  158.         -which field is to be the vertical axis? enter field number.
  159.         -which field is to be the horizontal axis? enter field number.
  160.         The display will show the data plotted as a graph with linear
  161. correlation, maximum and minimum, horizontal and vertical axis field
  162. names and the name of the file.
  163.         -a screen dump can be used to copy the graph to a printer.
  164.         -press any key to return to the main menu.
  165.  
  166. ADVANCED PROGRAMMING
  167.         The key BASIC variables used by DATABASE are:
  168.         R$(rec #, fld #) is a two-dimensional string array in which the
  169. data is stored.  N$(fld #) are the field names.  F is the number of
  170. fields.  X is the maximum number of records.  U is the number of
  171. records used.  These variables can be altered while running DATABASE
  172. by pressing the red stop key and making changes while in BASIC's
  173. command mode.  To return to running DATABASE press PF 5 (CR).
  174.         Records can also be altered by loading the data file created by
  175. DATABASE into a word processor and making changes.  The format of the
  176. data files is:
  177.         F,X,U
  178.         "File Name"
  179.         "Data rec #1, fld #1"
  180.         "Data rec #1, fld "2"
  181.         ...
  182.         "Name of fld #1"
  183.         "Name of fld #2"
  184.         ...
  185.  
  186. Enjoy!
  187.         Tom Moriarty
  188.         P.O. Box 370
  189.         Livingston Manor, N.Y. 12758
  190.