ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / Contact functions (Lotus Notes or Android/iPhone/iPad)
  • Modification with the Contact structure
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Modifies the current contact in a Lotus Notes or Outlook address book.
Attention This function does not read the last Contact in the address book of an Outlook Express mailbox.
Example
// Ouverture d'une session Lotus Notes
IDSession is int
IDSession = EmailStartNotesSession("MotDePasse", "ServeurMars", ...
	"mail/julie.nsf", "C:\Lotus Notes\julie.id")
// Recherche du contact à modifier
IF ContactSearch(IDSession, "Dupont", mContactLastName, "Axelle", mContactFirstName) = True THEN
	// Modification du numéro de téléphone de ce contact
	mContact.MobilePhone = "06.15.14.84.52"
	ContactModify(IDSession)
	Info("Le numéro de téléphone a été modifié")
ELSE
	Info("Aucun contact n'a été trouvé")
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 ID 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: wd300com.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/25/2025

Send a report | Local help