Progress
Results Administration
and Development Guide


Generating Code from Within Results

The Query Generate menu option generates a stand-alone Progress procedure for the current query and view. Table 3–11 provides some general information about how Query Generate generates code for the current query and view.

Table 3–11: Code Generation Using Query Generate
View
Code Generation Information
Browse
For interactive use only. The code contains a WAIT–FOR statement but does not explicitly create a window widget.
Form
For interactive use only. The code contains a WAIT–FOR statement but does not explicitly create a window widget.
Report
The DISPLAY statement is used to output data. The OUTPUT statement is used to output the report to TERMINAL PAGED.
Label
For noninteractive use only. The PUT statement is used to output data to label.dat.
Export
For noninteractive use only. The EXPORT statement is used to output data to export.dat.

NOTE: Code generated for the form view of a query does not contain the Query By Example button or functionality.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095