[V4RB] VVarchar and Language

Frank Schima frank-list3 at mindstarprods.com
Wed Dec 8 13:05:55 CST 2004


Hi Ruslan,


I'm testing b30 and I'm seeing a new behavior in the VVarchar Class. 
When defining a Varchar field using the API method, I cannot specify a 
language anymore:

So this used to work:
    vDescription = New VVarChar("Description", 504, "ASCII", kV_Nullable)

But now it only compiles when I remove the language parameter.
    vDescription = New VVarChar("Description", 504, kV_Nullable)

The new docs say it should be an optional parameter like it always used 
to be.

How can I specify the language in the constructor?

Workaround is to set it afterwards, i.e:
vDescription.Language = "ASCII"

Related question:
How would I specify the language if using SQL to create the table?

CREATE TABLE myTable (Description Varchar(504))

Final question:
What is the default language when none is specified?


Best regards,
Frank Schima



More information about the Valentina-beta mailing list