EGL Reference Guide for iSeries

Setting the modified property

You may want your program to do a task regardless of whether the user modified a particular field; for example:

To handle the previous cases, you can set the modified property for a particular item either in your program logic or in the form declaration:

The set statements affect the value of the modified property, not the current setting of the modified data tag. A test of the type if item modified is based on the modified data tag value that was in effect when the form data was last returned to your program. If you try to test the modified data tag for an item before your logic presents the form for the first time, an error occurs at run time.

If you need to detect whether the user (rather than the program) modified an item, make sure that the value of the modified data tag for the item is pre-set to no:


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]