1. Beatrix Willius
  2. Valentina Database ADK
  3. Freitag, September 30 2022, 02:30 PM
  4.  Abonnieren via E-Mail
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?
Anhänge
Kommentar
There are no comments made yet.
Ivan Smahin Akzeptierte Antwort
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.
Kommentar
There are no comments made yet.
Beatrix Willius Akzeptierte Antwort
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.
Kommentar
There are no comments made yet.
  • Seite :
  • 1


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

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories