[RB] Variants allowed?

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Oct 4 17:16:27 CDT 2004


On 10/4/04 5:01 PM, "jda" <jda at his.com> wrote:

> Ruslan,
> 
> I have a db updating method that receives the new data to be updated
> as a variant. This works fine in Valentina 1.x. But with the latest
> 2.0 beta when I issue this
> 
> myCursor.Field(fieldName).setString(propertyValue) //propertyValue is
> a variant, in this case holding a string
> 
> I get this error:
> 
> Assertion (onlyInvariantChars) failed in "putil.c", line 2175
> 
> 
> Will we have to explicitly convert variants to their specific data
> types before using them with 2.0? Or is this a bug/unimplemented
> feature?

Strange, because in fact Valentina 1.x was NOT aware of VARIANT type!

But in 2.0 into VField was added value as VARIANT.



-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina-beta mailing list