The third and forth parameters are available at design time only. Help states that value of 1-Public can be used in runtime but it's not the case. Anyway, 1-Public is default so there's no need to specify it.
>I have this code IN Runtime Version.
>I have a strange error 1001 ONLY in runtime version ...
>
>Why ?
>
>
>
>
>DEFINE CLASS cSqlCustom AS CUSTOM
> D_debut = { / / }
> d_fin = { / / }
>ENDDEFINE
>
>
> oSql = CREATEOBJECT("cSqlCustom")
>
>*-- Here I have a strange error 1001 ONLY in runtime version ...
>oSql.ADDPROPERTY( 'nvType' , 0 , 1 )
>
>
>
>bernhart
--sb--