You can create a logical reportfile with toolkit as follows:
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.
Start toolkit on your database:
c:\> toolkit dbname
Select 3 - Report Generator Menu from the Toolkit Development Menu.
Select D1 - Create Report Program from the Report Generator Menu.
Enter the new logical reportfile name.
Enter yes if you want to create a text report, otherwise enter no (or leave the field blank) to create a visual report.
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.