ACC2: How to Start the AutoDialer Without the Toolbar Button

ID: Q114218


The information in this article applies to:


SUMMARY

Moderate: Requires basic macro, coding, and interoperability skills.

This article describes how to invoke the AutoDialer without choosing the AutoDialer button on the toolbar.


MORE INFORMATION

You can add the AutoDialer button to a toolbar to automatically dial a telephone number using your computer's modem. To invoke the AutoDialer without using the AutoDialer button, call the wlib_AutoDial() function, supplying the function with the telephone number as an argument.

For a form with a field called Phone that holds a telephone number, you could call the wlib_AutoDial() function from a command button by setting the button's OnClick property to:


   =wlib_AutoDial([Phone]) 

You can also call the wlib_AutoDial() function in any module's Immediate window. For example, to dial the phone number 555-1212, type the following in the Immediate window:

? wlib_AutoDial("555-1212")


REFERENCES

For more information about the AutoDialer, search for "AutoDialer," and then "AutoDialer" using the Microsoft Access Help menu.


Keywords          : kbprg MdlLib 
Version           : 2.0
Platform          : WINDOWS 
Issue type        : kbhowto 

Last Reviewed: April 3, 1999