ATTENTION: V4RB fc13 is more strict // Altering table

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Jul 5 10:40:18 CDT 2005


On 7/4/05 11:32 PM, "Erik Mueller-Harder" <erikmh at gmail.com> wrote:

> With fc13, I am suddenly getting this error (#525583) when I am not
> expecting it.  The full text associated with it for me is:
> 
>      Field "defaultLanguageCode", attribute "MaxLength" is not matched with
>      schema-stored attribute.
> 
> The field is defined as VString[3], thus:
> 
>      defaultLanguageCode = new VString("defaultLanguageCode", 3)
> 
> All I have to do to re-create the error is create a new database with
> my application, then close and re-open the database.
> 
> I don't "alter" or change the length of the field anywhere in code.
> 
> Any suggestions of what to look for? Or do you thinkthis could be a
> problem on your end, since the exact same code has been working fine
> for me for months?
> 
> Thanks for any thoughts you might have!

Hi Erik,

We have discuss this with Jon, already.
Point is that you use classes.

You have write in class

    CreateStringField( "a", 3 )

Now in some way you change length

A) in db itself using vsutdio
B) in your code, 

So now your code say e.g. Len = 5,
But db you try open has len = 3


In the past Valentina was quite on this.
Now it complains. 

We have decide that this is good idea, because you can on development stage
to see non synchronization.

> I don't "alter" or change the length of the field anywhere in code.
 
You have change it before somehow.

It looks you use the same db file for long time, right ?


-- 
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-beta mailing list