You can modify the definition of 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 editor 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 D2 - Modify Report Program from the Report Generator Menu.
You can modify a logical reportfile manually with the following commands:
c:\> set EDITOR=edit
c:\> rptedit -v lfname
Editor is the name of your text editor or word-processor (e.g., edit). Lfname is the logical name for the reportfile. Rptedit runs the wtrdef program to interactively modify the reportfile definition for visual reports; rptedit runs the text editor of your choice for text reportfiles.