[ANN] V4RB 2.1 b12

Stan Busk maxprog at mac.com
Sat Dec 3 17:16:33 CST 2005


On Dec 3, 2005, at 2:25 PM, Ruslan Zasukhin wrote:

> 1) Conert_1_2  works CORRECTLY.
>
>     your database v 1.x do have that flags,
>     although your REALbasic code do not have them,

I have searched kV_Nullable in all my v1 classes, none found. I only  
use kV_Indexed and kV_Unique on some fields (but not the one that  
fails). I replaced those constants with EVFlag.fIndexed and  
EVFlag.fUnique respectively. I have never used kV_Nullable.

> 2) Only solution to workaround this is:
>
>     right AFTER convert you need add code
>     which will remove that flags for v2 database.
>     So database structure will STRICTLY correspond to your classes

But could you explain what my v1 database as a nullable attribute  
when I never use that attribute anywhere? Do you want to see my v1  
classes?

I can add something to eliminate the nullable attribute but this is a  
trick, the question is why do I have a field set that way?

My v1 database field is:

Comment = new VvarChar ( "Account_Comment", 128, "ASCII" )

My v2 is:

mComment = new VvarChar ( "Account_Comment", 128 )

Where is the error?

Stan


More information about the Valentina-beta mailing list