CAPTION

This function will allow you to change the caption of either a label or a command button.

CAPTION(tag // CAPTION)

Parameters

tag

The TAG value of one of the controls on your form. 

CAPTION

Enter the text you wish this label or button to display.

Example:
To change the caption of the button with a tag name of btnCancel to SAVE:

CAPTION(btnCancel//”SAVE”)