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
Indicates whether a day of the week is a working day in a Gantt Chart column found in a Table (or TreeView Table) control.
Example
GanttWorkingWeekDay(COL_Gantt, 6, True) // Saturday is a working day
GanttWorkingWeekDay(COL_Gantt, 7, False) // Sunday is not a working day
Syntax
GanttWorkingWeekDay(<Gantt Column> , <Day Number> , <Working>)
<Gantt Column>: Character string (with or without quotes)
Name of the Gantt Chart column found in a Table (or TreeView Table) control to use.
<Day Number>: Integer
Number corresponding to the day of the week to use:
  • 1: Monday,
  • 2: Tuesday,
  • 3: Wednesday,
  • 4: Thursday,
  • 5: Friday,
  • 6: Saturday,
  • 7: Sunday.
<Working>: Boolean
  • True: if the day is a working day.
  • False: if the day is not a working day.
Remarks
  • The non-working days are used to calculate the end date of a task according to its duration.
    For example, a 2-day task that starts on a Friday will end on Monday if Saturday and Sunday are non-working days.
  • If the duration of the tasks is specified in hours (..DurationInHour property of the GanttTask variable), the working hours are also used to calculate the end date.
  • The non-working days are Saturday and Sunday by default.
  • The bank holidays defined by BankHolidayAdd are considered as being non-working days.
Components
WINDEVReports and Queries wd230mdl.dll
Minimum required version
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment