How do I select a range of MICR characters to be tested in MICR sort mode?

Started by ForumAdmin, March 26, 2008, 10:55:00 AM

Previous topic - Next topic

ForumAdmin

How do I select the MICR characters between the right-most MICR symbol and the end of the MICR codeline to be evaluated during scanner-based MICR sorting?

Bryan Clark

If 'UseEndChar' is set to 'true', found under the [MicrSortRuleN] section, and 'EndCharacter' is set to nothing (rather than being set to one of the symbols listed in the CR180Options.ini file), 'StartCharacter' will refer to the right-most occurrence of the specified StartCharacter symbol in the codeline.  All MICR characters between the right-most occurrence of 'StartCharacter' and the end of the MICR line will be evaluated against the 'ComparisonString' setting.

Furthermore, the 'position' setting can be used instead of specifying the 'StartCharacter'; 'UseStartCharacter' should be set to 'false'.  However, testing suggests that using the start character method more consistently produces expected results.

There are two approaches to address spaces between the right-most occurrence of 'StartCharacter' and the MICR characters used for comparison.  The first approach is to set 'RemoveSpaces', found under the [MICR] section, to 'true'.  The other approach, if 'RemoveSpaces' is set to 'false', is to place quotes around the value of 'ComparisonString' under the associated [MicrSortRuleN] section:

Use: 'ComparisonString = " 1234"'

Instead of : 'ComparisonString = 1234'



Ranger® - The universal check scanner interface
Copyright © 2009 Silver Bullet Technology
www.sbullet.com