Phone Dialer Version 1.02 for the Microsoft Access Personal Information Manager Jack Presley Presley Computing October 1, 1992 (.02 update 2/2/93) Quick Start 1. Extract DIALER.MDB 2. Open PIM.MDB without running its AutoExec macro (Shift+Enter). 3. ++ Delete or Rename the *FORM* "Address." 4. ++ Delete or Rename the *MODULE* "Address." 5. Import from DIALER.MDB the Form: "Address." 6. Import from DIALER.MDB the Module: "Address." 7. Open the Address module and change the comm port and long distance prefix as required. 8. Save, exit, and re-start PIM normally. ++ If you haven't customized the Address Form or Module, you may delete them if you don't want to keep a backup copy. ****************** Corrections for 1.01 Users Only ******************* There is a minor error in Dial function in Module: Address. This error prevents the Dial input box from displaying the default number if it is a local number. To correct the problem, display the Dial function in the Address Module. Look for the line: PhoneNumber$ = Trim(PhoneNumber$) Change this line to: Number$ = Trim(PhoneNumber$) Replace all subsequent occurances of PhoneNumber$ with Number$. (There are only two, and they are just below this line.) ********************************************************************** Overview: The PIM Phone Dialer is simply one function and some declarations in the Module: Address. A Dial command button was added to the Address form. When it is pushed it calls the new Dial function, passing it the contents of the Phone field of the form. If the field is blank, the user is asked for a number. If if is over 8 characters in length, and optional long distance code is sent prior to dialing the number. Remarks: This is a simple phone dialer. There is no error checking or setup. Be sure to set the comm port value and Long Distance prefix values in the Declarations section of the Address Module. Suggestions: One could easily store communications settings and long distance access codes in the database. Error checking could easily be added with the addition of a few more calls to the Windows API. You could have two Dial buttons. The second one could be for inter-office calls and might dial the last four digits of the number. Auto-redial could also be added by checking the buffer for a BUSY signal. Where to go for help: You can always ask me on the forum. However, I learned how to do this by studying the COMMDEMO program that came with VB Pro 1.0. This program demonstrates how to use all the comm API calls in Windows. I don't expect to upgrade this as we don't use the PIM around here. Good luck, Jack Presley 70700,166 Presley Computing