[RB] Variants allowed?

jda jda at his.com
Mon Oct 4 10:01:59 CDT 2004


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?

Jon


More information about the Valentina-beta mailing list