ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Organizer 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
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.
Universal Windows 10 App In Universal Windows 10 App mode, this function can only be used to handle Organizer controls in a report.
Example
// Deletes the selected appointment from the Organizer control
OrganizerDeleteAppointment(ORG_Organizer1)
// Deletes the first added appointment
OrganizerDeleteAppointment(ORG_Organizer1, 1)
Syntax

Deleting an appointment identified by its index Hide the details

OrganizerDeleteAppointment(<Organizer control> [, <Appointment index>])
<Organizer control>: Control name
Name of the Organizer control to be used. This control can 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/iPadMac Catalyst

Deleting an appointment identified by an Appointment variable Hide the details

OrganizerDeleteAppointment(<Organizer control> [, <Appointment to delete>])
<Organizer control>: Control name
Name of the Organizer control to be used. This control can 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/iPadMac Catalyst

Deleting multiple appointments Hide the details

OrganizerDeleteAppointment(<Organizer control> [, <Appointment to delete>])
<Organizer control>: Control name
Name of the Organizer control to be used. This control can 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.
Business / UI classification: UI Code
Component: wd290mdl.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help