17. Forms Statements
 
Share this page                  
Forms Statements
This chapter describes forms statements. The general syntax for each of these statements is:
[margin] exec frs | ## forms_statement [terminator]
Because the use of a margin and terminator are dependent on your host language, you must consult your host language companion guide for information about these portions of the syntax.
If you are programming in embedded SQL, you must precede forms statements with exec frs; if you are programming in embedded QUEL, you must precede forms statements with ##. The statement syntaxes in this chapter omit these syntax elements. The examples in the chapters in this part use SQL syntax; for examples, QUEL users should see EQUEL/FORMS Examples.
Because the statement terminator is host-language dependent, the formal syntax presented in this chapter does not contain a statement terminator; the examples in each section use a semicolon (;) as a statement terminator.
Many statements require you to specify a field name or column name, or both. In this case you must specify the internal name of the field or table field column as specified in VIFRED. This internal name does not necessarily bear any relationship to the title of the field or column, although the title is displayed with the field on the form.