PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
Displays an Organizer control from a specified date or returns the date of the first day (or the date of the last day) displayed in an Organizer control.
Versions 17 and later
Reports and Queries This function can now be used to handle the Organizer controls found in a report.
New in version 17
Reports and Queries This function can now be used to handle the Organizer controls found in a report.
Reports and Queries This function can now be used to handle the Organizer controls found in a report.
Example
// Position the Organizer control on today's date
OrganizerPosition(ORG_Organizer1, Today())
 
// Position the Organizer control on December 20, 2012
OrganizerPosition(ORG_Organizer1, "20121220")
// Find out the first date displayed in the Organizer control
OrganizerDate is Date
OrganizerDate = OrganizerPosition(ORG_MyOrganizer)
Syntax

Position the Organizer control on a specified date Hide the details

OrganizerPosition(<Organizer control> , <Start date>)
<Organizer control>: Control name
Name of Organizer control to use. This control can correspond to:
  • an Organizer control in a report.
<Start date>: Character string or Date variable
Start date for the display.

Finding out the first date or the last date displayed by the Organizer control Hide the details

<Result> = OrganizerPosition(<Organizer control> , <Sought date>)
<Result>: Character string or Date variable
Date displayed by the Organizer control.
<Organizer control>: Control name
Name of Organizer control to use. This control can correspond to:
  • an Organizer control in a report.
<Sought date>: Optional Integer constant
Type of sought date:
orgStartDate
(Default value)
First date displayed in the Organizer control.
orgEndDateLast date displayed in the Organizer control.
orgCurrentMonthFirst day of the month displayed in the Organizer control.

Note: If the Organizer control is displayed in "per day" mode, the constants orgStartDate and orgEndDate are equivalent.
Component : wd240mdl.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment