OL2000: (CW) Microsoft Fax Does Not Process Dialing Properties
ID: Q198138
|
The information in this article applies to:
-
Microsoft Outlook 2000
-
Microsoft Word 2000
-
Microsoft BackOffice Small Business Server version 4.5
SYMPTOMS
When using Microsoft Word with the Microsoft Outlook Address Book to Mail
Merge To Fax (also known as Broadcast Fax), the telephone number dials
incorrectly. The Fax service dials local numbers with the area code and
long-distance numbers with the area code, but without the leading +1.
CAUSE
When using Word to Mail Merge To Fax, the Microsoft Fax service dials
telephone numbers as they appear in the Outlook Fax number field. The
telephone numbers are not processed by the modem's dialing properties.
Outlook will automatically add the local area code if you do not enter an
area code when you type the telephone number in the Fax field. In this
situation, the Fax modem incorrectly dials both local and long-distance
telephone numbers with 10 digits.
RESOLUTION
For Microsoft Fax to process the modem dialing properties, there must be a
+1 in front of the telephone number in the Fax field. The long distance
prefix of +1 forces the modem dialing properties to evaluate the telephone
number. The number should follow this format:
+1 (555)555-5555
There are two methods of solving this problem.
- Prior to initially entering the fax numbers in your Outlook contacts,
you can set Outlook to automatically enter a +1 in the Fax
number field as you enter new local and long-distance telephone numbers.
This method affects all telephone numbers, not just fax numbers.
NOTE: Outlook will automatically insert your default area code when you
enter a 7-digit phone number in contacts. If you wish to prevent Outlook
from inserting an area code, enter a comma (,) before the 7-digit
number.
- If you need to modify existing contact fax numbers, you will have to
modify the records manually. Or, use the VBScript code below
in a batch modification. The code example will only modify Fax
numbers; it will not modify Phone field entries.
Setting Outlook to Enter +1 for All New Fax Entries
To begin all new telephone numbers with a +1, follow these steps:
- Start Outlook and open the default Contacts folder.
- On the Actions menu, point to Call Contact, and then click New Call.
- Click Dialing Options.
- Click to select "the Automatically add country code to local phone
number" check box. Click OK, and then click Close.
Now whenever you add a new telephone number to a contact, Outlook will add
a +1 prefix and Microsoft Fax will properly process the modem dialing
properties. This method effects all telephone numbers, not just fax
numbers.
VBScript to Modify Existing Fax Numbers
Microsoft provides programming examples for illustration only, without
warranty either expressed or implied, including, but not limited to, the
implied warranties of merchantability and/or fitness for a particular
purpose. This article assumes that you are familiar with the programming
language being demonstrated and the tools used to create and debug
procedures. Microsoft support engineers can help explain the functionality
of a particular procedure, but they will not modify these examples to
provide added functionality or construct procedures to meet your specific
needs. If you have limited programming experience, you may want to contact
the Microsoft fee-based consulting line at (800) 936-5200. For more
information about the support options available from Microsoft, please see
the following page on the World Wide Web:
http://www.microsoft.com/support/supportnet/refguide/
This method adds a +1 to every Fax number in the selected folder. Telephone
numbers that are not Fax numbers remain unchanged. To automatically modify
your existing Fax numbers, follow these steps:
- Start Outlook and open the Contacts folder that contains the contact
Fax numbers that you want to modify.
- On the File menu, point to New, and then click Contact to open an
Untitled contact.
- On the Tools menu, point to Forms, and click Design This Form.
- Click the (P.2) tab to open page two of the form.
- On the Form menu, click Display This Page.
- On the Form menu, click Control Toolbox.
- From the Control Toolbox, drag a CommandButton to P2 of the Untitled
Contact form.
- On the Form menu, click View Code to open the Script Editor.
- Type the following code into the Script Editor, and then on the File
menu of the Script Editor, click Close:
Sub CommandButton1_Click
Dim FXNum(2)
Plus1 = "+1"
Set CurFolder = Application.ActiveExplorer.CurrentFolder
For I = 1 to CurFolder.Items.Count
Set CurItem=CurFolder.Items.Item(I)
FXNum(0) = CurItem.BusinessFaxNumber
FXNum(1) = CurItem.OtherFaxNumber
FXNum(2) = CurItem.HomeFaxNumber
For X = 0 to 2
If FXNum(X) <> "" then
Test = InStr(FXNum(X),Plus1)
If Test = 0 then
Count = Count + 1
Select Case X
Case 0
CurItem.BusinessFaxNumber = Plus1 & " " & FXNum(X)
Case 1
CurItem.OtherFaxNumber = Plus1 & " " & FXNum(X)
Case 2
CurItem.HomeFaxNumber = Plus1 & " " & FXNum(X)
End Select
CurItem.Save
End If
End If
Next
Next
MsgBox Count & " Records modified" & Chr(13) & "Process Done"
End Sub
- On the Tools menu, Point to Forms, and click Publish Form. Click to
select the Contacts folder from the Look In list. Type a name for your
form, click Publish and close the form.
- On the Actions menu, click to open your form.
Now when you click CommandButton1 on "P2" of the Contact form, the
VBScript code modifies all of the Fax numbers in your open Contact folder
so that they begin with the long distance prefix +1.
Additional query words:
ol2k
Keywords : GnlDial
Version : WINDOWS:2000; winnt:4.5
Platform : WINDOWS winnt
Issue type : kbprb
|