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
SchedulerDeleteAppointment (Function)
In french: PlanningSupprimeRendezVous
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.
Universal Windows 10 App In Universal Windows 10 App mode, this function can only be used to handle the Scheduler controls found in a report.
Example
// Deletes the selected appointment from the SCH_Schedule control
SchedulerDeleteAppointment(SCH_Schedule)

// Deletes the first added appointment
SchedulerDeleteAppointment(SCH_Schedule, 1)
Syntax

Deleting an appointment identified by its index Hide the details

SchedulerDeleteAppointment(<Scheduler control> [, <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.
WINDEVWEBDEV - Server codeiPhone/iPad

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.
Business / UI classification: UI Code
Component: wd300mdl.dll
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help