VarCharField Limitation of 5000?

Ruslan Zasukhin sunshine at public.kherson.ua
Tue May 9 23:39:39 CDT 2006


On 5/9/06 7:24 PM, "Chuck Pelto" <cbpelto at pcisys.net> wrote:

> Doing a run on the app I created last year and am trying to move to
> the new environment of V4RB2.
> 
> Getting an odd VException while building the fields of the tables in
> an API-way.
> 
> Here's the call....
> 
>    call tblSchedules.CreateVarCharField("schd_descript", 5000,
> EVFlag.fIndexed) // description of the scheduled event
> 
> If the integer for the size of the field is 5000, the VException
> occurs. If it is 2000, there is no exception.
> 
> What's causing this?

VarChar has limit on 4K bytes => 2044 chars for UTF16.

Check doc

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