ComponentOne True DBInput Pro 8.0
FiscalQuarter Property (TDBDateX)

 

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

FiscalQuarter Property (TDBDateX)

The FiscalQuarter property determines if the date set in the Value property is in the first, second, third or the fourth quarter of a fiscal year (when the fiscal year is divided into four quarters).

Syntax

object.FiscalQuarter

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

Values

Description

Run Time

1 - First quarter

dbi1stQuarterOfYear

2 - Second quarter

dbi2ndQuarterOfYear

3 - Third quarter

dbi3rdQuarterOfYear

4 - Fourth quarter

dbi4thQuarterOfYear

Remarks

Based on the month set by the FirstMonth property, the quarter of the fiscal year is calculated for the date.

When the Value property equals Null, the FiscalQuarter property will return a -1.

This property is left in the TDBDate control just for backward compatibility, and will not be supported in the future versions. Therefore, we recommend you use the DateX object included in the package instead, which provides the equivalent feature.

See Also

Value Property (TDBDate)

Value Property (TDBDateX)

FirstMonth Property (TDBDateX)

FiscalHalf Property (TDBDateX)

Quarter Property (TDBDateX)

 

 


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

Product Support Forum  |  Documentation Feedback