ComponentOne True DBInput Pro 8.0
Value Property (TDBHolidayX)

 

Value Property (TDBHolidayX)

The Value property returns or sets the date to process.

Syntax

object.Value= variant

Read/Write at run time. Not available at design time.

Values

Today's date is the default

Remarks

This property is used together with ValueType property, returning the day type (workday, holiday, weekend) of the specified date. A Null value can be applied but nothing will then be processed. If holiday styles or weekends are not set, the ValueType will always return a "workday".

This is the default property of the TDBHolidayX object.

Many methods in the TDBHolidayX object use an optional date argument which means the user does not necessarily need to specify it.

HolidayMgr.Value = CDate(Text1.Text)

HolidayMgr.Value = HolidayMgr.AdjustDate(, dbiPrevWorkday)

When the date argument is not specified, the date in the Value property will be used.

Null value is not a valid date that can be converted to a date, but can be used as a Variant subtype, indicating that a variable or a property contains no valid data.

See Also

ValueIsNull Property (TDBHolidayX)

ValueType Property (TDBHolidayX)

 

 


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

Product Support Forum  |  Documentation Feedback