17. System Commands for the Forms-based Tools : sreport Command--Store Report Definition in a Database : sreport Examples
 
Share this page                  
sreport Examples
1. This command stores report definitions in the repdef.rw file into the Reports Catalog of the mydb database:
sreport mydb repdef.rw
2. This command specifies a database name of myowndb and uses sreport prompts to store the report specification located in the myrep.rw file:
sreport myowndb
Report-Writer prompts you for the file name:
Filename
Enter the name of a file containing report specifications:
myrep.rw
3. This command uses sreport prompts to store the report specification from the myrep.rw file in the Reports Catalog for the myowndb database:
sreport
The Database prompt appears. Enter a database name:
Database myowndb
The Filename prompt appears. Enter a file name:
Filename myrep