PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Current contact
  • Contact structure
  • Required application feature
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:
  • WINDEVWEBDEV - Server codeReports 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.
  • Versions 16 and later
    AndroidAndroid Widget iPhone/iPadUniversal Windows 10 App the list of contacts on the device (Android, iPhone or iPad, Universal Windows).
    Warning
    From version 17 (69), ContactPrevious is available for backward compatibility. This function is not recommended if you are using Contact variables.
    New in version 16
    AndroidAndroid Widget iPhone/iPadUniversal Windows 10 App the list of contacts on the device (Android, iPhone or iPad, Universal Windows).
    Warning
    From version 17 (69), ContactPrevious is available for backward compatibility. This function is not recommended if you are using Contact variables.
    AndroidAndroid Widget iPhone/iPadUniversal Windows 10 App the list of contacts on the device (Android, iPhone or iPad, Universal Windows).
    Warning
    From version 17 (69), ContactPrevious is available for backward compatibility. This function is not recommended if you are using Contact variables.
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.
Versions 16 and later
Android This function is now available for the Android applications.
New in version 16
Android This function is now available for the Android applications.
Android This function is now available for the Android applications.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 18
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 22 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 22
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
WINDEVWEBDEV - Server codeReports and QueriesAjaxUser code (UMC)
// 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
WHILE mContact.Out = False
ListAdd(LIST_ContactList, mContact.Name + TAB + mContact.FirstName)
ContactPrevious(SessionID)
END
Syntax
WINDEVWEBDEV - Server codeReports and QueriesAjaxUser code (UMC)

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 error details, use ErrorInfo associated 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.
AndroidAndroid Widget iPhone/iPadUniversal Windows 10 App
Versions 16 and later
Warning
From version 17 (69), this syntax is kept for backward compatibility.
New in version 16
Warning
From version 17 (69), this syntax is kept for backward compatibility.
Warning
From version 17 (69), this syntax is kept for backward compatibility.

Reading the previous contact found in the list of contacts on the device (Android, iPhone or iPad, Universal Windows). Hide the details

<Result> = ContactPrevious(<Type of Contact> [, <Type of Information>])
<Result>: Boolean
  • True if the previous contact was read,
  • False otherwise. To find out the error details, use ErrorInfo associated with the errMessage constant.
<Type of Contact>: Integer constant
Type of contact to use. By default, this parameter corresponds to the contactPhone constant.
<Type of Information>: Integer constant (or combination of constants)
Specifies the information about the contact to fill in the Contact structure when reading the contact. For performance reasons, we recommend that you only ask for the information really required when browsing the contacts. The available constants are as follows:
contactInfoAddressStreet address of the contact (business and home)
contactInfoEmailEmail addresses of the contact
contactInfoGeneralName of the contacts and notes
contactInfoCompanyCompany and department of the contact
contactInfoPhonePhone number of the contact: desk, mobile, business and home fax
contactInfoAll
(Default value)
All the available information about the contact.
If this parameter is not specified, the Contact structure will be filled with the available information about the contact.
Universal Windows 10 App This parameter is not supported.
Remarks

Current contact

The mContact.Out variable is used to find out whether a current contact exists.
Versions 16 and later
AndroidAndroid Widget iPhone/iPadUniversal Windows 10 App

Contact structure

Only the following members of the Contact structure will be taken into account when reading a contact:
  • mContact.Out
  • mContact.Name
    Contains the display name of the contact (for example: Paul Smith).
  • mContact.Notes
  • mContact.HomeAddress
    Contains the full home address (Street, city, zip, ...).
  • mContact.HomePhone
  • mContact.HomeFax
  • mContact.MobilePhone
  • mContact.Company
  • mContact.Department
  • mContact.OfficeAddress
    Contains the full business address (Street, city, zip, ...).
  • mContact.OfficePhone
  • mContact.OfficeFax
  • mContact.OfficeMobilePhone
  • mContact.OfficePager
  • mContact.Email
  • mContact.NbEmail
  • mContact.ID
New in version 16
AndroidAndroid Widget iPhone/iPadUniversal Windows 10 App

Contact structure

Only the following members of the Contact structure will be taken into account when reading a contact:
  • mContact.Out
  • mContact.Name
    Contains the display name of the contact (for example: Paul Smith).
  • mContact.Notes
  • mContact.HomeAddress
    Contains the full home address (Street, city, zip, ...).
  • mContact.HomePhone
  • mContact.HomeFax
  • mContact.MobilePhone
  • mContact.Company
  • mContact.Department
  • mContact.OfficeAddress
    Contains the full business address (Street, city, zip, ...).
  • mContact.OfficePhone
  • mContact.OfficeFax
  • mContact.OfficeMobilePhone
  • mContact.OfficePager
  • mContact.Email
  • mContact.NbEmail
  • mContact.ID
AndroidAndroid Widget iPhone/iPadUniversal Windows 10 App

Contact structure

Only the following members of the Contact structure will be taken into account when reading a contact:
  • mContact.Out
  • mContact.Name
    Contains the display name of the contact (for example: Paul Smith).
  • mContact.Notes
  • mContact.HomeAddress
    Contains the full home address (Street, city, zip, ...).
  • mContact.HomePhone
  • mContact.HomeFax
  • mContact.MobilePhone
  • mContact.Company
  • mContact.Department
  • mContact.OfficeAddress
    Contains the full business address (Street, city, zip, ...).
  • mContact.OfficePhone
  • mContact.OfficeFax
  • mContact.OfficeMobilePhone
  • mContact.OfficePager
  • mContact.Email
  • mContact.NbEmail
  • mContact.ID
Versions 22 and later
Universal Windows 10 App

Required application feature

The use of this function triggers the declaration of an application feature in the wizard for generating the application.
Required feature: Contacts
This feature allows the applications to access the contacts.
New in version 22
Universal Windows 10 App

Required application feature

The use of this function triggers the declaration of an application feature in the wizard for generating the application.
Required feature: Contacts
This feature allows the applications to access the contacts.
Universal Windows 10 App

Required application feature

The use of this function triggers the declaration of an application feature in the wizard for generating the application.
Required feature: Contacts
This feature allows the applications to access the contacts.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230com.dll
Android wd230android.jar
Minimum required version
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment