2.7.1 Creating a Logical Reportfile

You can create a logical reportfile with toolkit as follows:

gifs/20000000.gif Set the EDITOR environment variable identifying the editor or word-processor to be used for text reports programming.

c:\> set EDITOR=edit

where edit is the name of your text editor or word-processor.

gifs/20000000.gif Start toolkit on your database:

c:\> toolkit dbname

gifs/20000000.gif Select 3 - Report Generator Menu from the Toolkit Development Menu.

gifs/20000000.gif Select D1 - Create Report Program from the Report Generator Menu.

gifs/20000000.gif Enter the new logical reportfile name.

gifs/20000000.gif Enter yes if you want to create a text report, otherwise enter no (or leave the field blank) to create a visual report.

gifs/20000000.gif Enter the description of the reportfile. See Chapter 7, Creating Visual Reports for more information.

To create a visual logical reportfile with a command, enter:

c:\> rptedit -cv lfname

To create a text logical reportfile with a command, enter:

c:\> set EDITOR=edit

c:\> rptedit -ctv lfname

Editor is the name of your text editor or word-processor (e.g., edit). Lfname is the logical name for the new reportfile. Rptedit(C-1) assumes that the database has toolkit style subdirectories; rptedit puts the reportfile in the rpt subdirectory. Rptedit runs the wtrdef(C-1) program to interactively create the visual reportfile.