*LASTDIS problem and Webevent

Date:Archived
Product/Release:LANSA for the Web
Abstract:Validation errors in WEBEVENT function
Submitted By:LANSA Technical Support

When using Update and Insert (and probably any other command that does a validation check of files) commands in RDML the Validation Error parm is set to *LASTDIS which attempts to go back to the last display before the insert/update when there is a validation error. Since a webevent function really can't go back to the last display it just sits there and does nothing. All that really has to be done to fix this is to set the Validation Error parm to *NEXT, and then the program will continue to execute and display any validation errors on the next function's screen.