1. Beatrix Willius
  2. Valentina Database ADK
  3. 金, 9月 30 2022, 02:30 PM
  4.  メールで購読
Using some simple example database:


// We will keep db in the 4 disk files
mDataBase.Create( f, 4, 32 * 1024 )

mDataBase.CollationAttribute(EVColAttribute.kStrength) = EVColAttributeValue.kSecondary
mDataBase.CollationAttribute(EVColAttribute.kCaseFirst) = EVColAttributeValue.kLowerFirst


I've set the collation explicitly to secondary. If I now change one field to have numeric collation:


dim Person_String as VString = mPerson.CreateStringField( "fld_string", 40 )
Person_String.CollationAttribute(EVColAttribute.kNumericCollation) = EVColAttributeValue.kON


then the strength changes to tertiary.

Is this a bug or a feature?
添付ファイル
コメント
There are no comments made yet.
Ivan Smahin 承諾済みの回答
It seems to be a bug - field properties must inherit parent ones. Please, report it to the Mantis, and I will fix it ASAP.
You may repeat all changed db's collation properties to the field as a workaround.
コメント
There are no comments made yet.
Beatrix Willius 承諾済みの回答
Done: http://www.valentina-db.com/bt/view.php?id=9145

I'm fixing this for now with some lowers so there is no hurry to fix the bug for Valentina.
コメント
There are no comments made yet.
  • ページ :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.