Sunday, March 11, 2012

Zonal word find actions searches entire page when no zone positions are set in IBM Datacap Taskmaster Capture.

Zonal word find actions searches entire page when


no zone positions are set in IBM Datacap Taskmaster Capture.


Abstract


Field level zonal word find action searches the entire page when no zone position is set in IBM Datacap Taskmaster Capture.

Symptom




When using a word find action such as FindKeyList_InZone or RegExFind_InZone on a field with no previously defined zone, the search term is applied to the entire page.


Diagnosing the problem




The problem field will have a Position variable with value "0,0,0,0" prior to the locate action(s)


Resolving the problem




The software is working as designed and the application rules should be adjusted to handle this scenario. Calling rrCompareNot / rr_Compare_Not or rrCompare / rr_Compare prior to the word find action is one way

For example, in IBM Datacap Taskmaster Capture 8.0.1 you can call at the field level rrCompareNot(@STRING(0,0,0,0),@F.Position) prior to FindKeyList_InZone or similar actions to avoid the latter from running when there is no previously defined zone

Alternatively, you can have a single function with rrCompare(@STRING(0,0,0,0),@F.Position) followed by any appropriate actions to avoid calling rrCompareNot multiple times within subsequent functions

No comments:

Post a Comment