Changing Header Text for a Form Tab

The header text for a tab form changes dynamically depending on conditions the programmer designs. To change the header text, move the desired text to the header variable in a conditional manner.

C                   EVAL      F4@MNTB      = ‘HeaderText’ 

In the above sample, "HeaderText" is the new name for the tab, and "F4MNTB" is the name of the field storing the tab’s name. The length of "HeaderText" should not exceed the length of F4MNTB, which is the length originally defined for the tab name.