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
Exports an appointment or a list of appointments in iCalendar format.
Example
// Creates a file in iCalendar format
// containing the list of appointments displayed in a Scheduler control
arrAPT is array of Appointment
arrAPT = SchedulerListAppointment(MySchedule)
sString is string = AppointmentToiCalendar(arrAPT)
IF NOT ErrorOccurred THEN
fSaveText("organizer.ics", sString)
END
Syntax

Exporting a list of appointments in iCalendar format Hide the details

<Result> = AppointmentToiCalendar(<Array of Appointments>)
<Result>: ANSI character string in UTF-8 format
  • List of appointments in iCalendar format,
  • Empty string ("") if an error occurred. To find out the error details, use ErrorInfo.
<Array of Appointments>: Array of Appointment variables
Name of the Array variable containing the Appointment variables to export in iCalendar format.

Exporting an appointment in iCalendar format Hide the details

<Result> = AppointmentToiCalendar(<Appointment>)
<Result>: ANSI character string in UTF-8 format
  • Appointment in iCalendar format,
  • Empty string ("") if an error occurred. To find out the error details, use ErrorInfo.
<Appointment>: Appointment variable
Name of the Appointment variables to export in iCalendar format.
Remarks
To retrieve a list of appointments from a string in iCalendar format, use iCalendarToAppointment.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230mdl.dll
Linux wd230mdl.so
Android wd230android.jar
Minimum required version
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment