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 first appointment found in the calendar of a Lotus Notes or Outlook messaging.
When an appointment is read, the appointment data is updated in the Appointment structure. To retrieve the data of the current appointment, simply retrieve the values from the Appointment structure.
Reminder: This function cannot be used to read the first appointment found 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 first appointment
AppointmentFirst(SessionID)
// Add the appointments found into a List Box control
WHILE mAppointment.Out = False
ListAdd(LIST_APTList, mAppointment.Subject + TAB + mAppointment.Location)
AppointmentNext(SessionID)
END
Syntax
<Result> = AppointmentFirst(<Session identifier>)
<Result>: Boolean
  • True if the first appointment 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 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: wd290com.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