[VCOM]: Get Default Value?

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Oct 25 13:50:58 CDT 2007


On 25/10/07 5:40 PM, "Martin S." <blackfin at elfenherz.de> wrote:

Hi Martin,

> 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?

Kirill says this is bug.

But I want underline -- this is not right get DefaultValue for field of
cursor!!

You can get/set this value only for Fields of Tables.
    
Agree ?


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list