ComponentOne True DBInput Pro 8.0
MonthTable Property (TDBDateX)

 

Reference> TDBDateX Object> TDBDateX Object Properties> MonthTable Property (TDBDateX)

MonthTable Property (TDBDateX)

Returns a table containing all days of the month set in the Value property.

Syntax

object.MonthTable(Index)

Read-only at run time. Not available at design time.

Remarks

The MonthTable is an integer array, which holds all days, elements 0 through 41, of the current underlying month including the trailing days. The month table you retrieve may change accordingly depending on the setting of the StartOfWeek property, which determines the starting weekday. This is very effective when creating user-defined calendars.

If the Value property is set to Null, all elements in the MonthTable will return -1.

If the month table array includes days that are out of the 100/01/1 - 9999/12/31 range, those elements will also return -1.

See Also

Value Property (TDBDateX)

StartOfWeek Property (TDBDateX)

Month Property (TDBDateX)

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback