Variables allow you to produce a variety of reports using the same form. A query can also use variables to retrieve or change different data each time the same query is run.
A variable is a symbolic name that represents values in a query, form, or procedure. QMF offers two types of variables: substitution variables and global variables . You can use both types of variables in queries, forms, and procedures.
Substitution variables keep their values only for the duration of a command; global variables keep their values for the duration of a QMF session.