How are you leaving the field?
With TAB key or ARROW keys?
*
Also have you looked at the compile listing to ensure there was is not a low level error>
*
Are you sure the RPG program is using the DSPF that has that keyword?
You may want to recompile both of them.
OK, here is your answer.
The CHECK(FE) does not stop you from leaving the field using a TAB, or Arrow Keys.
What the CHECK(FE) will do is to stop you from autmatically advancing to the next field without using the field exit key.
So if you have a 5 position field, and you put CHECK(FE) on it, then when you try to key in the 6th character, it will stop you.
Without the CHECK(FE), it would have advanced to the next field and put the 6th character in the first position of that field.
Discuss This Question: 5  Replies