DateValueCount property

Delphi example

C++Builder example

 

Builder Syntax

Cardinal DateValueCount

Delphi Syntax

DateValueCount: Cardinal

Overview

Refer to Working with Data Sets.

Remarks

Contains the number of date values in the DateValues property.

If you are retrieving date values associated with the element specified in the CurrentElement property, calling the GetDateValue method updates this property with the number of date values associated with the specified element.

If you are setting date values associated with the element specified in the CurrentElement property, you can set the DateValueCount property to allocate storage for the DateValues array property, prior to setting the date values using SetDateValue.

Set this property to 0 at any time to free the memory used for the DateValues property.

See Also

Elements:

DateValues property, GetDateValue method, SetDateValue method