ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Appointment functions (Lotus Notes/Android/iOS)
  • Android calendar: Remarks
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
Modifies the current appointment:
  • AndroidAndroid Widget in a calendar on an Android device.
  • iPhone/iPad in a calendar on an iOS device.
Example
// Ouverture d'une session Lotus Notes
IDSession is int
IDSession = EmailStartNotesSession("MotDePasse", "ServeurMars", ...
"mail/julie.nsf", "C:\Lotus Notes\julie.id")
// Lecture du dernier rendez-vous
AppointmentLast(IDSession)
// Modification du lieu
mAppointment.Location = "Salle 5H"
AppointmentModify(IDSession)
AndroidAndroid Widget iPhone/iPad
// Rendez-vous à modifier
gRDV is Appointment
// ...
 
// Modification du rendez-vous
gRDV.Title = SAI_Titre
gRDV.StartDate = SAI_DateDeb + SAI_HeureDeb
gRDV.EndDate = SAI_DateFin + SAI_HeureFin
gRDV.Location = SAI_Lieu
gRDV.Content = SAI_Desc
IF SAI_Fuseau <> "" THEN
gRDV.TimeZone = SAI_Fuseau
END
gRDV.Author = SAI_Auteur
gRDV.Guest = SAI_Invités
gRDV.WholeDay = INT_Jentière[1]
 
IF AppointmentModify(gRDV) THEN
ToastDisplay("RDV modifié")
ELSE
Error(ErrorInfo())
END
Syntax

Modifying the appointment in the calendar of a Lotus Notes or Outlook messaging Hide the details

<Result> = AppointmentModify(<Session identifier> [, <Appointment identifier>])
<Result>: Boolean
  • True if the modification was performed,
  • False otherwise. To get the details of the error, use ErrorInfo.
<Session identifier>: Integer
Identifier of session to use. This identifier is returned by one of the following functions: EmailStartNotesSession, EmailStartOutlookSession, NotesOpenDatabase or OutlookStartSession.
<Appointment identifier>: Optional character string
Identifier of the appointment to be modified. This identifier is found in the mAppointment.ID variable.
AndroidAndroid Widget iPhone/iPad

Modifying an appointment in the calendar found on a mobile device (Android/iOS) Hide the details

<Result> = AppointmentModify(<Appointment>)
<Result>: Boolean
  • True if the modification was performed,
  • False otherwise. To get the details of the error, use ErrorInfo.
<Appointment>: Appointment variable
Name of the variable of type Appointment corresponding to the appointment to be modified in the calendar of the device Android/iOS.
Remarks
AndroidAndroid Widget

Android calendar: Remarks

AppointmentModify can be used in the emulator but not in the simulator.
Business / UI classification: Business Logic
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