PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns:
  • the list of appointments found between two dates in an Organizer control,
  • all appointments found in an Organizer control,
  • a specific appointment (selected or hovered).
Versions 17 and later
WINDEVReports and Queries This function can now be used to handle the Organizer controls found in a report.
New in version 17
WINDEVReports and Queries This function can now be used to handle the Organizer controls found in a report.
WINDEVReports and Queries This function can now be used to handle the Organizer controls found in a report.
Versions 18 and later
PHP This function is now available for the PHP sites.
WEBDEV - Server code This function is now available in WEBDEV Server (Windows and Linux).
New in version 18
PHP This function is now available for the PHP sites.
WEBDEV - Server code This function is now available in WEBDEV Server (Windows and Linux).
PHP This function is now available for the PHP sites.
WEBDEV - Server code This function is now available in WEBDEV Server (Windows and Linux).
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App In Universal Windows 10 App mode, this function can only be used to handle the Organizer controls found in a report.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App In Universal Windows 10 App mode, this function can only be used to handle the Organizer controls found in a report.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App In Universal Windows 10 App mode, this function can only be used to handle the Organizer controls found in a report.
Example
// Lists all appointments found in the organizer
arrApt is array of Appointment
arrApt = OrganizerListAppointment(ORG_MyOrganizer)

// Adds the appointments into a table
FOR EACH gMyAppointment OF arrApt
TableAddLine(TABLE_Table1, gMyAppointment..StartDate, ...
gMyAppointment..EndDate, gMyAppointment..Title)
END
// Lists the appointments from today's date
arrApt is array of Appointment
arrApt = OrganizerListAppointment(ORG_MyOrganizer, DateSys())
Syntax

Retrieving the list of appointments found between two dates Hide the details

<Result> = OrganizerListAppointment(<Organizer Control> [, <Start Date> [, <End Date>]])
<Result>: Array of Appointment variables
Name of array containing the Appointment variables.
If an appointment corresponding to the specified criteria exists, this array will contain a single element.
If no appointment corresponds to the specified criteria, this array will contain 0 appointment.
<Organizer Control>: Control name
Name of Organizer control to use. This control can correspond to:
  • WINDEV an Organizer control in a window.
  • Versions 17 and later
    an Organizer control in a report.
    New in version 17
    an Organizer control in a report.
    an Organizer control in a report.
  • Versions 18 and later
    WEBDEV - Server codePHP an Organizer control in a page.
    New in version 18
    WEBDEV - Server codePHP an Organizer control in a page.
    WEBDEV - Server codePHP an Organizer control in a page.
<Start Date>: Optional DateTime variable
Start date for selecting the appointments.
If this parameter is not specified, all the appointments found in the Organizer control will be returned.
<End Date>: Optional DateTime variable
End date for selecting the appointments.
If this parameter is not specified, all the appointments found from <Start Date> will be returned.

Retrieving the information about a specific appointment Hide the details

<Result> = OrganizerListAppointment(<Organizer Control> , <Type of Appointment>)
<Result>: Array of Appointment variables
Name of array containing the Appointment variable.
If an appointment corresponding to the specified criteria exists, this array will contain a single element.
If no appointment corresponds to the specified criteria, this array will contain 0 appointment.
<Organizer Control>: Control name
Name of Organizer control to use. This control can correspond to:
  • WINDEV an Organizer control in a window.
  • Versions 18 and later
    WEBDEV - Server codePHP an Organizer control in a page.
    New in version 18
    WEBDEV - Server codePHP an Organizer control in a page.
    WEBDEV - Server codePHP an Organizer control in a page.
<Type of Appointment>: Integer constant
Type of sought appointment:
orgAptSelectedAppointment currently selected in the Organizer control. If no appointment is selected, <Result> will correspond to an array of 0 element.
orgAptHoveredAppointment hovered by the mouse cursor in the Organizer control. If no appointment is hovered, <Result> will correspond to an array of 0 element.
WEBDEV - Server codePHP This constant is not available.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230mdl.dll
Linux wd230mdl.so
Minimum required version
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment