PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Current contact
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Reads the contact found before the current contact in:
  • Reports and Queries the address book of a Lotus Notes or Outlook messaging.
    Caution: This function cannot be used to read the previous contact found in the address book of an Outlook Express messaging.
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
Reports and QueriesUser code (UMC)Ajax
// 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
Reports and QueriesUser code (UMC)Ajax

Reading the previous contact in the Lotus Notes or Outlook messaging Hide the details

<Result> = ContactPrevious(<Session identifier>)
<Result>: Boolean
  • True if the previous contact was read,
  • False otherwise. To find out the name of the error, use the function ErrorInfo with the constant errMessage.
<Session identifier>: Integer
Identifier of session to use. This identifier is returned by one of the following functions: EmailStartNotesSession, EmailStartOutlookSession, NotesOpenDatabase or OutlookStartSession.
Remarks

Current contact

The mContact.Out variable is used to find out whether a current contact exists.
Component: wd260com.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment