Implemented in version 2.0
The CompareMode property is used to set and return the key's string
comparison mode which determines how keys are matched while looking up
or searching. Keys can be treated as case-sensitive or case-insensitive.
To do the comparison, you use the Comparison Constants.
You may use either the CONSTANT (left column) or the VALUE (center column) in your code and get the same results.
||Compare information inside database
In the following example the Add method fails on the last line because the key "b" already exists. If CompareMode were set to VBBinaryCompare a new key "B" (upper case) with a value of "Bentley" will be added to the dictionary.
Set d =
d.Add "a", "Alvis"
d.Add "b", "Buick"
d.Add "B", "Bentley" 'fails here.
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.