This should be a simple thing to do but it is not working. I have an RPG program in which the user enters a warehouse code and presses enter. If the code is valid, it then populates a field in the record with the warehouse description. If the user changes the code to an invalid warehouse, I turn on an indicator and blank out the warehouse description. I then do an exfmt. The error message appears but the code description does not change to blanks. I debugged the program and it showed the field was blank just before I did the exfmt. If the field is blank, why does it still show the old description?
February 25, 2010 5:23 PM
January 20, 2012 1:15 AM