ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Organizer functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Deletes an appointment from an Organizer control. If the Organizer control is linked to a data source, the appointment is also deleted from the data source.
Example
// Supprime le rendez-vous sélectionné dans le champ Agenda 
AGD_Agenda1.SupprimeRendezVous()
// Supprime le premier rendez-vous ajouté
AGD_Agenda1.SupprimeRendezVous(1)
Syntax
<Organizer control>.DeleteAppointment([<Appointment index>])
<Organizer control>: Control name
Name of the Organizer control to be used. This field may correspond to:
  • WINDEVAndroidiPhone/iPadMac Catalyst an Organizer control in a window.
  • an Organizer control in a report.
  • WEBDEV - Server codePHP an Organizer control in a page.
<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

<Organizer control>.DeleteAppointment([<Appointment to delete>])
<Organizer control>: Control name
Name of the Organizer control to be used. This field may correspond to:
  • WINDEViPhone/iPadMac Catalyst an Organizer control in a window.
  • an Organizer control in a report.
  • WEBDEV - Server code an Organizer control in a page.
<Appointment to delete>: Appointment variable
Name of the Appointment variable that corresponds to the appointment to delete.
If this parameter is not specified, the selected appointment will be deleted.
WINDEVWEBDEV - Server codeiPhone/iPad

Deleting multiple appointments Hide the details

<Organizer control>.DeleteAppointment([<Appointment to delete>])
<Organizer control>: Control name
Name of the Organizer control to be used. This field may correspond to:
  • WINDEViPhone/iPadMac Catalyst an Organizer control in a window.
  • an Organizer control in a report.
  • WEBDEV - Server code an Organizer control in a page.
<Appointment to delete>: Array of Appointment variables
Name of the variable of type Array of Appointment that corresponds to the appointments to be deleted.
If this parameter is not specified, the selected appointment will be deleted.
Component: wd300mdl.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/20/2024

Send a report | Local help