OnRecordDone()
Description
Description
OnRecordDone is called after TextConverter has inserted a new output record into the output database table. You would rarely implement this method. Its primary use is handling of custom errors.
Syntax
Syntax
Function OnRecordDone ( ok )
Parameters
Parameters
boolean ok - true if the record was inserted successfully, false if errors occurred.
Return value
Return value
none
Example
This sample demonstrates error log implementation. The variable db_log is a Data Object variable.
Function OnRecordDone( ok )
If ok Then Exit Function
db_log.AppendStart()
db_log.SetCelllValue "Description", "Record failed"
db_log.SetCelllValue "RecordInfo", DictOut.Field.value
db_log.AppendFinish
End Function
See also