...
- Add the new report to the Report Selector screen by clicking on the
button.Anchor O_6615 O_6615 - 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
button.Anchor O_26094 O_26094
No report definition screen exists for this report yet. - 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.
...