"The code is exactly
how I would like to write code and the algorithms used are very
efficient and well-documented."
Van T. Dinh, Microsoft MVP
|
|
Module: modSearch
Search routines
|
Procedure Name
|
Type
|
Description
|
|
(Declarations)
|
Declarations
|
Declarations and private variables for the modSearch module
|
|
BinarySearchVariant
|
Procedure
|
Use a binary search to find a value in an array.
The array must be zero based and sorted for this procedure to function correctly. Please note that this function works on arrays of variants, but not a variant array.
|
|
LinearSearchVariant
|
Procedure
|
Use a binary search to find a value in an array.
The array must be zero based and sorted for this procedure to function correctly. Please note that this function works on arrays of variants, but not a variant array.
|
|
LinearSearchVariantUnsorted
|
Procedure
|
Use a linear search to find a value in an array.
This function is not optimized for sorted data. See LinearSearchVariant for a function that is optimized for Sorted Data.
The array must be zero based and sorted for this procedure to function correctly. Please note that this function works on arrays of variants, but not a variant array.
|
|
Soundex
|
Procedure
|
Returns a Soundex key for the supplied string.
The soundex algorithm is based on the principle that English words can be distinguished solely by their consonants. The soundex algorithm generates a four character key based on the first character of the word, followed by the consonants contained in that word.
Soundex assigns one of seven values to English letters. A value of zero indicates that the letter will be dropped from the key. In addition, repeated values are also removed from the key. The following transformation is used for soundex:
|
Overview of Total Visual SourceBook
The source code in Total Visual
SourceBook includes modules and classes for Microsoft Access, Visual
Basic 6 (VB6), and Visual Basic for Applications (VBA) developers. Easily
add this professionally written, tested, and documented royalty-free code
into your applications to simplify your application development efforts.
Additional Resources
|
|