You can update the fields on the form by calling fm_updflds(), which can also be used for menus. The call for fm_updflds() is as follows:
|
Before calling this function, the form must be displayed on the screen or made ready by calling fm_ready().
For a data form, fm_udpflds() refreshes the values displayed in the data fields, memo fields, and scrollable region fields on a form to the current values of the underlying data variable. fm_updflds() observes all field option settings controlling field display, including INITIALBLANKS. Fields and memos that have no underlying variable are cleared. Only the protected characters are redisplayed in these fields.
For a menu form, fm_updflds() redisplays the menu fields.