ACC2: How to Start the AutoDialer Without the Toolbar Button (114218)



The information in this article applies to:

  • Microsoft Access 2.0

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

REFERENCES

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

Modification Type:MajorLast Reviewed:7/8/2002
Keywords:kbhowto kbProgramming KB114218