Page 1 of 1

Screen fields not updating when EXFMT

Posted: Mon Feb 11, 2013 1:40 pm
by Shon
I have a record format, which is a subfile control, which means it has an associated Subfile (Grid). In addition to the Grid fields, there are additional fields both above and below the Grid. My program is populating those fields correctly, however when I perform the EXFMT command on that record format, the data for the non-grid fields does not get written out to the screen. Furthermore, when the EXFMT returns control to the screen, those fields are no longer populated. I tested various things and found that by writing out any other format, even a Dummy empty format, my data for the subfile control record format writes out just fine. However, now I noticed that my Error Messages at the field level are not showing up. Is there a different way that I should be doing this? I thought that since the grid is not overlaying my other data on the record format and that an EXFMT is basically a Write and a Read, that it should Write and Read the data outside of the Grid as well as inside the Grid. Thanks for the help.

Re: Screen fields not updating when EXFMT

Posted: Tue Feb 19, 2013 9:34 am
by Shon
This was due to my use of the error messages, which prevent all other display output from outputting. I checked the enhanced box for the erro message properties and all seemed to work fine.