TITLE Apple Access III: Addendum (6 of 7) Article ID: 40 Created: 9/21/84 Modified: 8/5/85 -------------------------------------------------------------------------------- TOPIC -------------------------------------------------------------------------------- DISCUSSION BEFORE you execute Access III, you must execute SETPREFIX to set the prefix--for example, if the volume name of your ProFile is /PROFILE, then you must set the prefix to: /PROFILE You MUST set the prefix with the SETPREFIX program. If you set the prefix with the Filer, only the Pascal prefix remains set, not the SOS prefix, so Access III will not be able to find the files it needs. The prefix set with the SETPREFIX program does not interfere with the Pascal prefix; in fact, a different prefix may be set by each. But for the sake of consistency, we suggest that you always set the Pascal and SOS prefixes the same. To do so, set the Pascal prefix from the Filer, then set the same prefix with the SETPREFIX program. When done, type: X Execute what file? APPLCOM/ACCESS3 Access III will now be run from the subdirectory. If you receive an error message, you probably haven't set your prefixes properly. If the prefixes are correctly set, save the Set-Up settings: they will be loaded automatically the next time you execute Access III. -->PROFILE AND BUSINESS BASIC Use the Utility program to make a subdirectory on the ProFile called APPLCOM: select "Make a new subdirectory" from the File Handling Commands. Call this new subdirectory: /PROFILE/APPLCOM This directory should have room for 25 files. Press ESCAPE to return to the File Handling Commands menu, and then select "Copy files" from the File Handling Commands. Put the Access III master diskette into one of the Apple III disk drives, then type: /APPLCOM and press the up-arrow. You will see displayed a list of the files on the Access III diskette on the right hand side of your screen. Press the up and down arrow keys to line up the selection arrow with the name of the file to be selected, and select it by pressing the right arrow. Select the following files from the diskette: ACCESS3.PROFILE ACCESS3.INV After you have selected both files, press RETURN to accept the selection. For the destination ("To the files:") type: /PROFILE/APPLCOM/= and press RETURN. The files you have selected will be transferred to the subdirectory on the ProFile. The file ACCESS3.PROFILE is a small Business BASIC program that sets the prefix and invokes Access III. You may need to change it if, for any reason, you have a differently-named subdirectory. To change ACCESS3.PROFILE, type: )load /profile/applcom/access3.profile )list You will then see the following listing: 10 a$=PREFIX$ 20 PREFIX$="/PROFILE" 30 INVOKE "APPLCOM/ACCESS3.INV" 40 PERFORM ACCESS3 50 PREFIX$=a$ 60 END If you want to shorten the typing required to run Access III, type: )save /profile/applcom/access3 Doing so saves a new Business BASIC program called Access III in the subdirectory on your ProFile. It changes the name from ACCESS3.PROFILE to just ACCESS3. The program works as follows: Line 10 saves the old prefix. Line 20 sets the prefix to the volume that contains the Access III subdirectory. Line 30 brings Access III into memory, and Line 40 starts it up. When you exit Access III, Line 50 restores the prefix to its original value. With this program, you don't have to worry about setting the prefix with the SETPREFIX program; just type: )run /profile/applcom/access3 and everything will work correctly. NOTE: If the volume name of your ProFile is different from "/PROFILE", you must change this Business BASIC program so that it sets the correct prefix. Just substitute the volume name of your ProFile in line 20 before saving the program with the new name.