ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Appointment functions (Lotus Notes/Android/iOS)
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 appointment found before the current appointment in the calendar of a Lotus Notes or Outlook messaging.
When reading an appointment, the data of this appointment is updated in the Appointment structure. To retrieve the data of current appointment, all you have to do is retrieve the values from the Appointment structure.
Reminder: This function cannot be used to read the appointment found before the current appointment in the calendar of an Outlook Express messaging.
Example
// Start a Lotus Notes session
SessionID is int
SessionID = EmailStartNotesSession("Password", "MarsServer", ...
"email/julia.nsf", "C:\Lotus Notes\julia.id")
// Read the last appointment
AppointmentLast(SessionID)
// Add the appointments found into a List Box control
WHILE mAppointment.Out = False
ListAdd(LIST_APTList, mAppointment.Subject + TAB + mAppointment.Location)
AppointmentPrevious(SessionID)
END
Syntax
<Result> = AppointmentPrevious(<Session identifier>)
<Result>: Boolean
  • True if the previous appointment 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.
Remarks
  • The mAppointment.Out variable allows you to find out whether there is a current appointment.
  • In Outlook, the management mode of contacts/participants can be specified when starting the session (EmailStartOutlookSession or OutlookStartSession).
Component: wd270com.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help