/
Creating new report definition screens
Creating new report definition screens
After you create a new report or modify an existing report and save it with a new name, you may need to build a new report definition screen.
For this exercise, a staff contact list report has been created (STFCL) and saved in the site folder. This Crystal Report is based on a number of base tables and so the named report definition screen vStaff (which would have been ideal had the report been built from the view vStaff) cannot be used. The following shows how to build a new report definition screen from scratch.
- Add the new report to the Report Selector screen by clicking on the button.
- Enter the correct details for the Report Code (STFCL), Module (REP), View (blank), Description (Staff Contact List) and the Resource Type (Site).
- Click .
- Highlight the new report in the Report Selector grid and click the
No report definition screen exists for this report yet. button. - Add an Optional Selections group box to the form as the first control object to contain the remaining selection fields. Refer to the screen capture below for assistance.
- Next insert the following staff database fields into the Optional Selections group box:
• Surname
• Preferred
• ID
• StaffCode
• StaffCampus
• StaffYearLevel. - Highlight the GroupBox entry in the User Form Designer grid.
- Click to create a new entry for Surname.
- Enter the values for Control & Property Definition and Editable Objects and SQL Syntax as shown in the screen capture below.
- Click .
- Highlight the Surname entry in the User Form Designer grid and click to create a new entry for Preferred.
- Enter the values for Control & Property Definition and Editable Objects and SQL Syntax as shown in the screen capture below.
- Click .
- Highlight the Preferred entry in the User Form Designer grid and click to create a new entry for Staff ID.
- Enter the values for Control & Property Definition and Editable Objects and SQL Syntax as shown in the screen capture below.
- Click .
- Highlight the Staff ID entry in the User Form Designer grid and click to create a new entry for Staff Code.
- Enter the values for Control & Property Definition and Editable Objects and SQL Syntax as shown in the screen capture below.
Note: We are using the luSQL field to write a SQL Server query to populate a wwDbLookupCombo. - Click
The Additional Properties field has also been used to change the default properties of this control. . - Highlight the Staff Code entry in the User Form Designer grid and click to create a new entry for Staff Year Level.
- Enter the values for Control & Property Definition and Editable Objects and SQL Syntax as shown in the screen capture below.
Note: We are using the luSQL field to write a SQL Server query to select only three columns from the luYearLevel table to appear in the wwDbLookupCombo control. - Click .
- Click to inspect the newly created report definition screen.
, multiple selections available,
Related content
Modifying existing report definition screens
Modifying existing report definition screens
More like this
Report Form Designer
Report Form Designer
More like this
Creating new Crystal Reports
Creating new Crystal Reports
More like this
Using the User_Report Form Editor
Using the User_Report Form Editor
More like this
Selecting staff_students to maintain in the medical centre
Selecting staff_students to maintain in the medical centre
More like this
Configuring staff hot reports
Configuring staff hot reports
More like this