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
Adds a new appointment into an Organizer control. If the Organizer control is linked to a data source, the appointment is also added into the data source.
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
// Adds an appointment while specifying its characteristics
OrganizerAddAppointment(ORG_Organizer, "Dentist appointment", ...
"200910291800", "200910291900")
// Adds an appointment while using the Appointment type
gMyAppointment is Appointment
gMyAppointment..Title = "Appointment with the accountant"
gMyAppointment..Location = "12 Jordan Road, London"
gMyAppointment..Content = "Don't forget to bring the current folders"
gMyAppointment..StartDate = "200910291800"
gMyAppointment..EndDate = "200910291900"
OrganizerAddAppointment(ORG_Organizer, gMyAppointment)
// Adds an appointment by using the Appointment type and with repetition
// Every first Monday of the month
// a Monday found in days from 1 to 7 of the month = 1st of month.

x is Appointment
x..StartDate = Today() + "1200"
x..EndDate = Today() + "1400"
x..WithRepetition = True
y is Repetition
y..Type = schEveryDay
y..DayOfWeek = 1
y..DayOfMonth = "1-7"
y..DayOfMonthOrDayOfWeek = False
x..Repetition = y

OrganizerAddAppointment(ORG_Organizer, x)
Syntax

Adding an appointment while specifying its characteristics Hide the details

<Result> = OrganizerAddAppointment(<Organizer Control> , <Title> , <Start Date> [, <End Date> [, <Category>]])
<Result>: Integer
  • Subscript of added appointment,
  • -1 if an error occurred. ErrorInfo is used to identify the error.
<Organizer Control>: Control name
Name of Organizer control into which the appointment will be added. 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.
<Title>: Character string (with quotes)
Title of appointment.
<Start Date>: Character string or DateTime variable
Start date and time of appointment.
<End Date>: Optional character string or optional DateTime variable
End date and time of appointment. If this parameter is not specified, the default duration of appointment will be set to 1 hour.
<Category>: Optional character string
Name of category associated with the appointment. If this parameter is not specified, the appointment is associated with no category. The category is automatically created if it does not exist.

Adding an appointment into an Organizer control while using the Appointment type Hide the details

<Result> = OrganizerAddAppointment(<Organizer Control> , <Appointment>)
<Result>: Integer
  • Subscript of added appointment,
  • -1 if an error occurred. ErrorInfo is used to identify the error.
<Organizer Control>: Control name
Name of Organizer control into which the appointment will be added. 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.
<Appointment>: Appointment variable
Versions 16 and later
Name of Appointment variable describing the characteristics of the appointment to add.
For backward compatibility, you have the ability to use an ogiAppointment variable.
New in version 16
Name of Appointment variable describing the characteristics of the appointment to add.
For backward compatibility, you have the ability to use an ogiAppointment variable.
Name of Appointment variable describing the characteristics of the appointment to add.
For backward compatibility, you have the ability to use an ogiAppointment variable.
Name of ogiAppointment variable describing the characteristics of the appointment to add.
Related Examples:
WD Organizer Complete examples (WINDEV): WD Organizer
[ + ] This example is used to synchronize some appointments between your Outlook, Lotus Notes and Google calendars.

Based on the Organizer control, you have the ability to create, modify, move or delete the appointments.
you also have the ability to classify the appointments by category and to link them to several external organizers.
WD Handling the Organizer control Training (WINDEV): WD Handling the Organizer control
[ + ] WD Handling the Organizer control is a simple example for using the Organizer control.

The following features are used:
- Creating an appointment
- Saving an organizer
- Restoring an organizer
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