[VCOM]: Get Default Value?

Martin S. blackfin at elfenherz.de
Thu Oct 25 09:40:30 CDT 2007


When I'm trying to get the default value of a field, it always returns NIL.

var test: OleVariant ;
test := Cursor.Field(x).DefaultValue ;

Field is a valid VField, every other thing works (field name, value, 
isNullable, isIndexed, type_ etc.)

When test is declared as string, I get '' (empty string)
When test is declared as integer, I get 0.

what doing I'm wrong?


VCOM Version is 3.5b6


More information about the Valentina mailing list