«Heading()» command is used to place text above a data element on the interview. Use the Heading and Footing commands to bring some context to the fields on the interview, or insert breaks in the form of blank Headings or Footings.
An example of a basic Heading() command looks like this:
«Heading(CompanyName, COMPANY INFORMATION)»
This will place the text ” COMPANY INFORMATION” above the capture control for the data element CompanyName in the data capture interview.
More advanced layout features can be introduced into this command, for example:
This places the same text above Company Name, but in this example it is now indented in line with the fields, and appears in bold and red. The | character, which is the character that defines the indentation of the text, places the heading in line with the fields but can be replaced with any number of ##. These characters also determine indentation, each one representing about a half a character width. Leaving it out altogether will cause the text of the Heading to appear in line with the captions on the interview. Use ^bui^ to apply bold, underline and italics attributes to the text. Right click on the Heading command in the Command Editor to access the wizard to guide you through the available styling options.
«Heading(CompanyName, )» will insert a blank footing beneath a data element. Blank headings and footings behave as breaks in the interview form.
Read more about this at Styling and coloring the Caption and Heading