Using Errors and Warnings
For the most part, errors and warnings display messages to users informing them about invalid data. For this reason, they are almost always placed in FieldEdit or SaveEdit PeopleCode, or in SearchSave PeopleCode for validation during search processing. In conjunction with edits, errors stop processing, while warnings allow processing to continue. When errors and warnings appear in places other than FieldEdit or SaveEdit, their effects vary.
This section discusses how to:
-
Use errors and warning syntax.
-
Use errors and warnings in edit events.
-
Use errors and warnings in RowSelect events.
-
Use errors and warnings in RowDelete events.
-
Use errors and warnings in other events.