The
endgroup statement finishes data entry for the current group (roster or multiply-occurring form) in a data entry application. It cannot be used in a batch application. If the statement is used in an item procedure, it causes an automatic skip to the
postproc of the current group/record. If the statement is executed in the
preproc of the group/record, the entire group/record is skipped and control passes to the group/record's
postproc.
This function has superseded the
endsect statement. Where
endsect exists in an application, it will continue to work, but users creating new applications should adopt the
endgroup instruction.