SaveEntry Method

Save the specified entry to the current phonebook.

Syntax

object.SaveEntry([EntryName As Variant])

Remarks

The SaveEntry method saves the specified entry to the current phonebook, based on the current control properties. If the entry does not exist, it will be created. If the entry does exist, it will be overwritten. Note that unlike the CreateEntry method, this method does not display any user-interface dialogs.

The optional EntryName argument specifies the name of phonebook entry. If this argument is not provided, the current value of the PhoneEntry property is used.

Return Value

A value of zero is returned if the operation was successful, otherwise a non-zero error code is returned which indicates the cause of the failure.

See Also

PhoneBook Property, PhoneEntry Property, CreateEntry Method, EditEntry Method


Copyright © 2008 Catalyst Development Corporation. All rights reserved.