home *** CD-ROM | disk | FTP | other *** search
- DATABASE Version 1.1
-
- DATABASE is a compact 6K database for the Epson Geneva written
- in BASIC. General features include: search, sort and various printout
- capabilities. Special features include: telephone log, numeric
- analysis, and graph functions. Because DATABASE is in BASIC you can
- perform complex data manipulations "on the fly" using BASIC's
- versatility.
- Before loading, if you do not have a wedge, set the A drive to
- about 8k. Or you can set the A drive to zero and then save all data to
- the H drive or disk. About 18K of data can thus be handled.
- The main menu shows startup, save, change, and analyze
- features. If at any time you encounter a BASIC error message or
- prompt, pressing key PF 5 (+CR) will return you to the main menu.
-
- Type N for New File (CR)
- -erase any unsaved files? Type Y (CR)
- -file name? Type in name (CR)
- -how many records? The max. is 254. Set more than you plan to
- use, but large numbers take up more memory, even if all the records
- are unused.
- -fields per record? Max. is again 254. You can go up to 254
- characters in length for each field. Having 1-2 spare fields is a
- good idea.
- -what is first field name? Type in name.
- -what is second field name? Type in name...etc.
-
- ADD A RECORD
- -lst record, type A at the main menu and enter information for
- each field. A record is like a row of information, a field is like a
- column within the rows. Database beeps at the end of each record.
- -next record, type A at the main menu and type in the info.
- Entering a single carat (^) in any field will cause DATABASE to repeat
- the information for that field from the previous record.
-
- SORTING
- -Sorting is done on the first letters or numbers of the field
- being sorted. All fields are sorted based on the order of the
- information in the field selected for sorting.
- -type B for bubble sort
- -sort on which field? Enter field number by which you wish to
- sort.
- -alpha/numeric sort? Type N for numeric, A for alphabetic.
-
- CHANGE
- To change a field within a record while entering, note the
- record and field number of the mistake. Finish entering data on all
- fields then use the change command to make corrections. To change an
- entire record, remove it and then reenter it.
- -Type C to change a record
- -which record? enter record number
- -which field? enter field number, then type in new information.
-
- EXITING DATABASE
- -It's very important to exit the program properly, otherwise
- you may have put the Geneva into a mode which sends all printing to
- the screen (handy at times, but not in general). So always use the E
- command to exit. You'll have a chance to save your work as you exit.
-
- FIND AND PRINT
- This is DATABASE's most powerful feature. It allows you to
- search the file you've created and printout records in various
- formats. Searches find all records that contain the search
- information in the field being searched (e.g. searching for "549" in a
- zip code field will discover records containing "54925","65491"...etc.
- in their zip code field). Multiple field searches discover records
- that simultaneously satisfy the search requirements for all selected
- fields.
- -defaults are in brackets
- -(Screen) or printer? Hit return for the screen or P for the
- printer.
- -(mailing labels) envelopes, count, display or report? Mailing
- labels gives you a single column printout. Envelope pauses after
- printing each record so you can load your printer with the next
- envelope. Count displays the number of records that meet your search
- criteria. Display shows all info in the file. Report prints out a
- columnar display.
- -number of copies? Default is 1.
- -start printing at tab number? The tab number refers to the
- column number where printing will start. (Return) for column 1.
- -number of fields or lines to print? Enter the total number
- you wish to print, including blank lines.
- -enter zero for a line feed. Each zero entered gives you one
- line feed at that point in the printing.
- -line one's field number? Type in first field's number you
- want to print...etc.
- -search or print all records? "All" prints out all fields
- selected for printing. Search looks for specific information that you
- entered in some records and prints out those records that meet the
- search criteria.
- -how many fields do you want to search? Can be done on 1 to 10
- fields simultaneously. Specify # of fields you want to search.
- -search one's field number? enter # and enter search criteria
- for that field...etc.
- DATABASE will then display, print or count the records which
- meet all search criteria.
-
- SAVE
- -type S at the main menu to save. (can be done at any time)
- -which drive? Shows what is on the drive.
- -how do you want to name this file? Type the name, DATABASE
- automatically adds the .DTA extension for data file.
-
- INPUT
- -type I at the main menu to input a file.
- -erase any unsaved files? enter Y or DATABASE will bring you
- back to the menu.
- -type the filename without the .DTA because DATABASE
- automatically recognizes this.
-
- PARAMETERS
- -type P for Parameters at the main menu. This shows the field
- names, how many records are available, how many records are used and
- how many bytes of memory are left. Once set, the parameters can only
- be changed by altering variables in BASIC (See Advanced Programming).
-
- SUM
- -type U from the main menu to sum the value of a field over all
- records.
- -which field do you want to add up? Enter the number.
-
- TELEPHONE LOG
- You can create a phone log that matches the usual telephone
- bill format. Use the report format to print out the phone log.
- -open a New File having at least 4 fields. Call the first
- field: "Tel. #", the 2nd: "Time on", the 3rd: "Time off", the 4th:
- "Minutes". Whenever you wish to log a call, enter the telephone
- number in field 1. Press PF 2 when adding the time you're beginning
- the call. As soon as (return) is pressed DATABASE will read the
- Geneva's clock and enter the date and time. Enter PF 3 in field 3 as
- soon as you finish the call and DATABASE will enter the time into that
- field. Leave the "Minutes" field blank, since that will be computed
- by DATABASE. To compute the current total minutes logged:
- -enter T at the main menu.
- -Answer Y to the "Alter field 4?" prompt. This allows DATABASE
- change any existing data in each record to become the difference
- between the time off and the time on.
- -the current total minutes will be displayed on the screen.
- Times are rounded to the nearest minute, beginning with 1/2 minute.
- (Note to nightowls: Calls made during midnight cannot be processed.)
-
- % GROWTH
- This is a specialized data analysis function to determine the
- percentage change in value when comparing fields 2 and 3. The percent
- change is computed and stored in field 4.
- -to use this function set up a data file having at least 4
- fields.
- -in fields 2 & 3 enter values you wish to track for growth.
- -type V from the main menu to evaluate growth from field 2 to
- field 3.
-
- XY GRAPH ANALYSIS
- The graph function will display data from any two fields having
- numeric data. An X-Y scatterplot will be windowed so that all values
- will just fit within the graph area.
- -enter data in records
- -type x at the main menu.
- -which field is to be the vertical axis? enter field number.
- -which field is to be the horizontal axis? enter field number.
- The display will show the data plotted as a graph with linear
- correlation, maximum and minimum, horizontal and vertical axis field
- names and the name of the file.
- -a screen dump can be used to copy the graph to a printer.
- -press any key to return to the main menu.
-
- ADVANCED PROGRAMMING
- The key BASIC variables used by DATABASE are:
- R$(rec #, fld #) is a two-dimensional string array in which the
- data is stored. N$(fld #) are the field names. F is the number of
- fields. X is the maximum number of records. U is the number of
- records used. These variables can be altered while running DATABASE
- by pressing the red stop key and making changes while in BASIC's
- command mode. To return to running DATABASE press PF 5 (CR).
- Records can also be altered by loading the data file created by
- DATABASE into a word processor and making changes. The format of the
- data files is:
- F,X,U
- "File Name"
- "Data rec #1, fld #1"
- "Data rec #1, fld "2"
- ...
- "Name of fld #1"
- "Name of fld #2"
- ...
-
- Enjoy!
- Tom Moriarty
- P.O. Box 370
- Livingston Manor, N.Y. 12758