ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Contact functions (Lotus Notes or Android/iPhone/iPad)
  • Required application feature
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
Reads the last 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.
When reading a contact, the data of this contact is updated in the Contact structure. To retrieve the data of the current contact, all you have to do is retrieve the values from the Contact structure.
Example
// Start a Lotus Notes session
SessionID is int
SessionID = EmailStartNotesSession("Password", "MarsServer", ...
"email/julia.nsf", "C:\Lotus Notes\julia.id")
// Read the last contact
ContactLast(SessionID)
// Add the contacts found into a List Box control
WHILE mContact.Out = False
ListAdd(LIST_ContactList, mContact.Name + TAB + mContact.FirstName)
ContactPrevious(SessionID)
END
Syntax

Reading the last contact in the Lotus Notes or Outlook address book Hide the details

<Result> = ContactLast(<Session identifier>)
<Result>: Boolean
  • True if the last contact was read,
  • 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 NotesOpenDatabase, OutlookStartSession, EmailStartNotesSession or EmailStartOutlookSession.
Remarks
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