PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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 last appointment in a Lotus Notes or Outlook calendar.
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 last 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 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> = AppointmentLast(<Session identifier>)
<Result>: Boolean
  • True if the last 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
Component: wd270com.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment