When an error is detected in an event point past the normal display cycle, such as "record already on file" in pre-pcf update, APPX attempts to re-invoke the last frame in that input process. If that frame is optional and alternate image number is zero, the frame will not be displayed and you'll fall right back to pre-pcf update, an infinite loop.
You can check for duplicate keys, primary and unique alternates, within a displayed frame and send a message to the status line informing the user of the condition. You could also set a flag in pre-pcf update and check this flag in select image and set the alternate image number to non-zero so the frame will be displayed.
|