Formatting a Startup File

When you format a startup file, each keyword must end with a colon. The generic formats are:

! Comment line goes here
Command: Arg0, Arg1, . . ., Argn

Depending on your company’s security procedures, you can display a complete or edited list of users and tables when you start SQR Production Reporting Studio. Use the keywords in the following table to show or hide users and tables.

Table 40. User Name and Table Settings in the Startup File 

Keywords

Description

Hide_User

Takes database.user names as its arguments. For ORACLE, specify user. The specified users do not appear in the list of available users. SQR Production Reporting Studio does not check the validity of the user name.

Example: Hide_User: pubs.barry

Show_User

Takes database.user names as its arguments. For ORACLE, specify user. If you use this command, only the specified user names appear in the list of available users if the users have tables that are accessible. SQR Production Reporting Studio does not check the validity of the user name.

Example: Show_User: pubs.gwyn

Hide_Table

Takes user.table names as its arguments. For SYBASE, specify the complete table name: database.user.table. For ORACLE, specify user.table. The specified table names do not appear in the list of available tables. SQR Production Reporting Studio does not check the validity of the table names. Only the first table name needs to specify the user name. Subsequent tables specified without a user use the preceding user name.

Example: Hide_Table: pubs:dbo.authors.titles

Show_Table

Takes database.user.table names as its arguments. For ORACLE, specify user.table. If you use this command, only the specified table names appear in the list of available tables for the specified user. SQR Production Reporting Studio does not check the validity of the table names. Only the first table name needs to specify the user name. Subsequent tables specified without a user use the preceding user name.

Example: Show_Table:pubs.dbo.authors.titles

As you define user name and table settings in the startup file, observe the following guidelines: