ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Contact functions (Lotus Notes or Android/iPhone/iPad)
  • Modification with the Contact structure
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Modifies the current contact in a Lotus Notes or Outlook address book.
Caution: This function cannot be used to read the last contact in an Outlook Express address book.
Example
// Start a Lotus Notes session
SessionID is int
SessionID = EmailStartNotesSession("Password", "MarsServer", ...
"email/julia.nsf", "C:\Lotus Notes\julia.id")
// Find the contact to modify
IF ContactSearch(SessionID, "Smith", mContactLastName, "Adriana", mContactFirstName) = True THEN
// Modify the phone number of the contact
mContact.MobilePhone = "06.15.14.84.52"
ContactModify(SessionID)
Info("The phone number was modified")
ELSE
Info("No contact was found")
END
Syntax
<Result> = ContactModify(<Session identifier>)
<Result>: Boolean
  • True if the modification was performed.
  • False otherwise. To get more details on the error, use ErrorInfo with the errMessage constant.
<Session identifier>: Integer
Session ID to be used. This identifier is returned by one of the following functions: EmailStartNotesSession, EmailStartOutlookSession, NotesOpenDatabase or OutlookStartSession.
Remarks

Modification with the Contact structure

When reading a contact (with ContactRead, ContactFirst, ContactLast, ...), the data of this contact is updated in the Contact structure.
To modify the current contact, you must:
  1. Modify the values of the Contact structure.
  2. Confirm changes with ContactModify.
Component: wd290com.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/21/2022

Send a report | Local help