Previous Topic: *Return Code

Next Topic: *Record Data Changed

*Reload Subfile

The *Reload Subfile field specifies that a subfile is to be reloaded before redisplay. CA 2E standard functions normally only reload subfiles if it is required by the default processing. You can use this field if you want to force a subfile reload.

For example, if a Display File function calls a subsidiary function that adds records to the database, you may want the subfile to be reloaded on return so that the new records are included in the display. To force a subfile reload, you should move the condition *YES to the *Reload subfile field immediately after the call to the subsidiary function; this causes the subfile to be reloaded on return to the Display File function.

.—CASE <<< |—CTL.*CMD key is CF09 <<< | Add new records function <<< | *PGM. *Reload Subfile = CND. *Yes <<< ‘—ENDCASE