ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Scheduler functions
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
<Scheduler>.DeleteAppointment (Function)
In french: <Planning>.SupprimeRendezVous
Deletes an appointment from a Scheduler control. If the Scheduler control is linked to a data source, the appointment is also deleted from the data source.
Example
// Deletes the selected appointment from the SCH_Schedule control
SCH_Scheduler.DeleteAppointment()
 
// Deletes the first added appointment
SCH_Scheduler.DeleteAppointment(1)
Syntax

Deleting an appointment identified by its index Hide the details

<Scheduler control>.SchedulerDeleteAppointment([<Appointment index>])
<Scheduler control>: Control name
Name of Scheduler control to use. This control can correspond to:
  • the Scheduler control of a window,
  • the Scheduler control of a page,
  • the Scheduler control of a report.
<Appointment index>: Optional integer
Index of the appointment to be deleted. The index of the first appointment is set to 1. If this parameter is not specified, the selected appointment will be deleted.
WEBDEV - Server code

Deleting an appointment identified by an Appointment variable Hide the details

SchedulerDeleteAppointment(<Scheduler control> , <Appointment used>)
<Scheduler control>: Control name
Name of Scheduler control to use. This control can correspond to:
  • the Scheduler control of a window,
  • the Scheduler control of a page,
  • the Scheduler control of a report.
<Appointment used>: Appointment variable
Appointment variable corresponding to the appointment to delete.
Component: wd290mdl.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help