Microsoft KB Archive/114218

= ACC2: How to Start the AutoDialer Without the Toolbar Button =

Article ID: 114218

Article Last Modified on 7/8/2002

-

APPLIES TO


 * Microsoft Access 2.0 Standard Edition

-



This article was previously published under Q114218



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



SUMMARY
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")

