I wanted to conditionally exit from the prolog of a TI and write a message to the error log.
So I wrote this in the prolog
Code: Select all
If ( test=fail );
ItemReject ('Error Msg');
ProcessBreak;
EndIf;
This sort of makes sense I suppose since ItemReject is intended for use in the Meta/Data tabs and does skip the single records. Anyway I just thought I'd post this so that it doesn't catch anyone else out in the future.
Cheers,