Kofax DOKuStar Validation User Manual

Page 93

Advertising
background image

DOKuStar Validation for Ascent Capture

Page

89

Step 3

Now we are ready for integrating the following code lines

When the project is loaded, first we call

InitRejectEditCtrl

to connect all field classes of the schema to the

RejectEditControl,

with the exception of TableFields. TableFields are displayed in the DOKuStar Validation

GUI by the TableEdit Control. Therefore we prevent the TableField class from registering by the RejectEditControl.
So we are able for editing characters in TableFields by the TableEdit Control.

Furthermore we call

ApplyRejectEdit

(code lines see below) for setting the properties of the

RejectEditCon-

trol

; this means we adjust the layout of the control and the allowed interactions for the validation operator.

In addition we connect the

Controller

, or the

Cursor

object respectively, to the field state filter and set the filter

to

StateReject

to activate all fields including a reject character (“?”) when a batch is opened. In this case only

indexfields including rejects has to be processed by the validation operator.
Of course the setting of other field state filter is practicable.

Advertising