Quick Report
A quick report is a "row and column" style report (although using the Advanced Report Designer, you can make the report look anyway you wish). This is the most common type of report in Student Manager Reports.
To create a Quick Report, follow the steps in the Creating a Report topic, and select the Quick Report type.
Step 1 - Main Report Information
In Step 1, enter the following information:
Report name: the name of the report. If you enter the name of an existing report, an error message displays. You can't use a backslash ("\") in a report name; the computer will beep if you press that key. You cannot go to the next step until you have entered a valid report name.
Folder: the folder this report belongs in. The default is the current folder in the Reports Explorer. You can select the desired folder by clicking the down arrow beside the folder name and choosing the folder in the list that appears. To expand a folder, click the + sign in front of the folder name; the + sign changes to a - sign. To collapse a folder, click the - sign in front of the folder name; the - sign changes to a + sign. To select the desired folder, either click it and click the down arrow again to close the list or double-click it.
Comments: any comments entered here appear in the Reports Explorer when the report is selected.
Step 2 - Data Selection
In Step 2, select which fields appear in the report. Note that if you turn on Advanced layout in Step 5 (see below), the options in this step are disabled (with the exception of the Advanced button) and a message appears indicating why this is the case.
The options in this step are:
Table: a drop-down list that displays the names of the tables you can select fields from.
Sort: Student Manager Reports by default displays fields in alphabetical order. This makes it easy to find a field in the list. However, sometimes it makes more sense to display fields in the order they appear in the table. For example, for typical address fields, you would see this order alphabetically:
Address
City
Contact Name
Country
Customer Name
Postal Code
Region
whereas they'd appear like this in table order:
Customer Name
Contact Name
Address
City
Region
Postal Code
Country
Click this button to display fields in table order. Click it again to display them alphabetically. The setting of this button is remembered, so if you edit a report later, it has the same setting.
Find: a long list of fields can make it difficult to find the ones you're interested in. If you know part of the field caption you're looking for (such as a field with "tax" somewhere in the caption), click this button, enter the text, and click OK. If there are any fields that match, the first one is selected. Press F3 to find the next one containing the same text.
Relation: a long list of tables can make it difficult to find the ones you're interested in. Once you've selected fields from one table, chances are you're next going to select fields from a directly-related table. For example, if you chose a field from Customers, you are more likely to choose a field from Orders than from Products. Click this button to reduce the list of tables to only those directly related to ones you've already selected fields from. Click it again to restore the list to all tables.
Available fields: a list containing all reportable fields from the table shown in the Table list that have not already been selected.
Selected fields for this report: a list showing the fields to be included in the report, with the table the field is from shown in parentheses. Fields in this list may be moved up and down to change the order in which the columns are printed on the report; to do this, click the button in front of the field to move and drag the button up or down in the list.
Add: clicking this button adds the selected field in the Available list to the Selected list. You can select several fields by holding down the CTRL key as you select them; clicking Add adds all selected fields to the Selected list. You can also add the field by double-clicking it in the Available list, selecting it and pressing ENTER, or dragging the field from the Available list to the Selected list. The field is removed from the Available list.
If you select a field from a table that is not related in any way to the other tables involved in the report, you will get a warning message.
Add all: clicking this button adds all fields from the selected table to the Selected list.
Remove: clicking this button removes the selected field (or fields if you have selected more than one) from the Selected list. You can also remove the field by dragging it from the Selected list to the Available list. The field is added to the Available list (although you may not see it if the table the field is from is not the selected table).
Remove all: clicking this button removes all fields from the Selected list, and adds them to the Available list (although you only see those fields from the selected table).
Advanced: click this button to customize how the report runs.
New Formula: click this button to define a new formula. The new formula is automatically added to the report.
Edit Formula: click this button, which appears instead of New Formula when you have selected an existing formula, to edit the formula.
Values: displays a list of the unique values in the field selected in either the Available or Selected list, depending on which one was selected last. This is handy if you're not sure what data a field contains.
Properties: clicking this button displays the Properties dialog. You can also display this dialog by double-clicking the field in the Selected list or selecting it and pressing ENTER. This dialog allows you to specify how the field looks, how grouping is performed, and whether summary totals are shown or not. See Field Properties below for more information.
Field Properties
The Properties dialog allows you to specify how the field looks, how grouping is performed, and whether summary totals are shown or not. You can display this dialog for the field highlighted in the Selected list in Step 2 of the Quick Report Wizard, by clicking the Properties button, double-clicking the field, or selecting the field and pressing ENTER.
See the Field Properties topic for more information.
Step 5 - Formatting Options
Step 5 allows you to specify formatting options for the report.
The options in this step are:
- Header: text that appears at the top of every page. If you want to use an expression rather than fixed text, such as a user-defined function, add
{and}around field or function names in the text. You can also click the Expression Builder button (... beside the text box) to display the Expression Builder, which is a much easier way to create the expression to use.
Here's an example of an expression that displays "Sales for
<spelled out month> <year>" (such as "Sales for December 2001") in the report header:
Sales for
{cmonth(date())} {year(date())}
Here's an expression that uses the built-in GetConditionValue function, which returns the value of a filter condition for the specified field, to display a header showing "Sales for " a particular country the report is filtered on:
Sales for
{GetConditionValue('customers.country')}
Expressions can even include fields from the result set for the report.
Footer: text that appears at the bottom of every page. As with the header, you can use an expression for the report footer; click the Expression Builder button to display the Expression Builder, which is a much easier way to create the expression to use.
Include filter in report header: if this option is turned on, any filter you've set for the report is displayed in the header of the report.
Include database in header: turn this option on to include the database name in the header of the report.
Run report with no records: turn this option on (the default) to run the report even when there are no records that match your filter condition. This results in a blank report. If this option is turned off, rather than displaying a blank report, Student Manager Reports displays a message that there are no records.
Summary report: if this item is turned on, the report does not print detail information but only those fields that appear in group headers and totaled fields. This option is disabled unless there's at least one group in the report and for advanced layout reports. Note that sorting on totaled fields is given higher priority than grouped fields. This allows you to show, for example, sales by product with the biggest selling items first by using a descending sort on the sales amount field.
You are warned if you run a summary report with fields that won't appear because they aren't grouped or summed. The report still runs if you allow it.
Template: this specifies the overall layout of the report. The default template for a new report is determined by the Default template setting in the Options dialog, but if other templates are available, you may select the desired one from the drop-down list. Templates are created and edited using the Template Editor.
Subreports: click this button, which is only available if you have an Ultimate license, to display the Subreports Wizard. This wizard allows you to add subreports to the report. A subreport is a report that displays inside another one. For each record in the main report, a subreport shows related records. If a subreport has an ask-at-runtime filter condition that matches a filter condition in the main report, the value of that filter condition for the main report is used for the subreport rather than prompting you for the value (similar to the way this works for linked reports).
Reports containing subreports can output to file, but outputting to Microsoft Excel Data Only (regular and fast formats), Table, and XML outputs only the data for the main report, not the subreports. Nested subreports aren't supported; that is, a subreport can't contain subreports. Some templates work better with subreports than others: Standard, Standard - 8 pt, Elegant, and the various Stylish templates are the best choices, or of course you can edit others or create your own templates to support subreports.
In the first step of the subreport wizard, select the reports you want to use as subreports of the current one. Note that a subreport must have something in common with the current report that's used to link the two. For example, both must have a customer ID or an order ID.
After selecting the subreports you want to use, you can rearrange the order in which they appear when the report is run by clicking the button in front of the desired report and dragging the button up or down in the list.




