ADDRESS DATABASE Vers 1.9 Written by Andrew Black (c) Andrew Soft 1991 This program has been released into the Public Domain. This program provides an address database with limited functions, however it should be adaquate for most people. Hopefully a vastly improved version will be appearing soon. Operating Instructions ---------------------- There are six options on the main manu screen. 1. Create records 2. Browse through data file 3. Search using number 4. Recover record 5. Delete record 6. Add records 7. Amend record 8. Print records 9. Exit 1. Create data file ------------------- The purpose and design of this is to enable a person to input names, addresses and telephone numbers. 1. The program then asks how many records you wish to create. The amount of records you are allowed to have is relative to disc space ie. 720 records per 100K of disc space. 2. You will then be presented with something like this. Name : Address : Town : County : Post code : Telephone No: The amount of text in any category is limited to 20 characters maxium. If you enter too much text it will be striped of all characters after the 20th. You may mix letters and numbers in upper or lower case freely in each category. When you have finished typing, for example, the Name press the RETURN key and you will go onto the next category or onto the next record. Each time you finish filling a record the program will write the current record to disc. Once you have finished inputing all the records you will be returned to the main menu screen. The created file is called DATFILE. If this file is not present you cannot use any of the options on the menu except add, create and exit. 2. Browse through data file --------------------------- This part of the program is to enable you to look through the addresses and telephone numbers of people that you have already put onto a datafile. 1. The program will display all the names, addresses and telephone numbers in order all through the datafile. After displaying all the information the program will then return you to the main menu screen. 3. Search using number ---------------------- This part of the program will enable you to search out a particular record using the record number. 1. The program asks you for the record number of the record. 2. The program goes straight to the record and displays it. The program then returns you to the main menu after finding the information. If the record does not exist or has been deleted you will be told this and then sent back to the main menu. 4. Recover record ----------------- This part of the program will allow you to recover a record that has been deleted. 1. The program asks you for the record number of the record. 2. Whether you are sure you want to recover the record. The program will then recover the record and restore it fully. If you enter a record that does not exist or has not been deleted the program will inform you then return you to the main menu. 5. Delete record ---------------- This part of the program allows you to delete a record. 1. The program asks you for the record number of the record. 2. Whether you are sure you want to delete the record. When the program deletes a record it does not phiscally remove it from the disc. All it does is to set a flag to tell the program that the record is no longer available. This is to allow to be recovered easily. If you enter a record number that does not exist or has already been deleted you will be informed and returned to the main menu. 6. Add records -------------- This part of the program allows you to add records to the main datafile. This part of the program is to enable you to add records to a datafile after it has been created. 1. The program then asks how many extra records you wish to create. 2. You will be then asked to fill in the below information for each extra record you require. Name : Address : Town : County : Post code : Telephone No: After you have finished entering the extra records the datafile is saved and you are returned to the main menu screen. You may check the extra records you have created by using the Browse or Search option on the menu. 7. Amend record --------------- This part of the program enables you to update the data on a particular record. 1. The program asks you for the record number of the record. 2. Whether you are sure you want to amend the record. 3. If you choose to amend it you will be presented with something like this: Name : Address : Town : County : Post code : Telephone No: You must then fill in the information just like you did in the create section. The program will then return you to the main menu screen. To check that the information has been changed properly use the Browse or Search option for the record you have amended. 8. Print records ---------------- This part of the program allows you to print out the entire database in number order. It assumes that printer is already online. 9. Exit ------- This part of the program is to enable to you to finish a session with Address Book and return you to BASIC. 1. The program will ask if you really do want to quit the program. If the reply is yes then the program ends or if no it returns you to the main menu. 2. The program will then close any open files and end the program. -------------------------------------------------------------------- This program was orginally a G.C.S.E. project that's why the instructions look weird. If people like this program I will do an advanced one because there are very many features which I would like to add. Please tell me your comments, ideas and anything you think about it.