ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Contact functions (Lotus Notes or Android/iPhone/iPad)
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
Deletes the current contact:
  • Reports and Queries from a Lotus Notes or Outlook address book.
    Caution: This function cannot be used to delete a contact from an Outlook Express address book.
Example
Reports and Queries
// Start a Lotus Notes session
SessionID is int
SessionID = EmailStartNotesSession("Password", "MarsServer", "email/julia.nsf", ...
"C:\Lotus Notes\julia.id")
// Find the contact to delete
IF ContactSearch(SessionID, "Smith", mContactLastName, "Adriana", mContactFirstName) = True THEN
// Delete contact
ContactDelete(SessionID)
Info("This contact was deleted")
ELSE
Info("No contact was found")
END
Syntax
Reports and Queries

Deleting a contact from a Lotus Notes or Outlook address book Hide the details

<Result> = ContactDelete(<Session identifier>)
<Result>: Boolean
  • True if the deletion 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 EmailStartNotesSession, EmailStartOutlookSession, NotesOpenDatabase or OutlookStartSession.
Remarks
Related Examples:
WM Managing Contacts Cross-platform examples (WINDEV Mobile): WM Managing Contacts
[ + ] This example presents the management of contacts for Android et iOS.
It is used o:
- list the contacts found on the phone
- call the contacts
- send SMSs to the contacts
- ...
Business / UI classification: Business Logic
Component: wd290com.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/23/2023

Send a report | Local help