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/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Reads a contact found in:
  • Reports and Queries the address book of a Lotus Notes or Outlook messaging.
    Caution: This function cannot be used to read a contact found in the address book of an Outlook Express messaging.
To be read, this contact must have been:
The function ContactRead does not position on the Contact read.
When reading a contact, the data of this contact is updated in the Contact structure.
Example
Reports and Queries
// Ouverture d'une session Lotus Notes
IDSession is int
IDSession = EmailStartNotesSession("MotDePasse", "ServeurMars", "mail/julie.nsf", ...
"C:\Lotus Notes\julie.id")
// Lecture du premier contact
ContactFirst(IDSession)
...
// Re-lecture de ce même contact
ContactRead(IDSession, mContact.ID)
Syntax
Reports and Queries

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

<Result> = ContactRead(<Session identifier> , <Contact identifier>)
<Result>: Boolean
  • True if the contact was read,
  • False otherwise. To get the details of the error, use ErrorInfo with the errMessage constant.
<Session identifier>: Integer
Identifier of session to use. This identifier is returned by one of the following functions: EmailStartNotesSession, EmailStartOutlookSession, NotesOpenDatabase or OutlookStartSession.
<Contact identifier>: Character string
Identifier of the contact to read. This identifier is found in the mContact.ID variable.
Remarks

Current contact

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