OnRecord is called for each input record before the corresponding output record is inserted into the output database table. This is the primary method to be implemented for custom calculations of output values, input record analysis, filtering of output records, and other tasks. (See samples and walkthroughs for more information)
Function OnRecord()
none
none
This sample uses VBScript to show how to implement OnRecord() to have an output field as a function of two input fields.
Function OnRecord() ' this function is called on each record
DictOut.Field.value = Left( DictIn.Field1.value, 3 ) & Left( DictIn.Field2.value, 4 )
End Function