
[-defdefine LessonName "Creating a Report"-]
<section id='BaseOps_Tutorial_CreatingReport_id'>
    [-include "BaseOps_SetUpStandardWorkbookCase.tutscript"-]
    <title>
        &LessonName;
    </title>
    <section>
        <title>
            &LessonName;
        </title>
        <para>
            BaseOps can create reports that contain most of the information
            in a case. Reports are customizable --- you have full control
            of the information that is presented, and can design your own
            specialty report (for example, a report showing only maps of F-16
            flight profiles on runway 32). You can print reports, display
            them on the screen, and export them to external files.
        </para>
        <para>
            This lesson will teach you how to create, view, print, and export
            reports. It is presented as a list of step-by-step instructions.
            To begin, press the <bold>First Step</bold> button below.
        </para>
    </section>
    <section>
        <title>
            Step 1
        </title>
        <para>
            Go to the object type selector dropdown list in the upper-left
            corner of the BaseOps window, and select "Reports".
        </para>
        <para>
            [-include "BaseOps_ShowMeHowLink.rxl" VideoName='BaseOps_CreatingReport - 1.wcsaf'-]
        </para>
    </section>
    <section>
        <title>
            Step 2
        </title>
        <para>
            Your case will likely contain a number of standard reports. These
            will be listed in the left portion of the BaseOps window. Click
            on a report to select it. For this tutorial, we will select the
            "Flight Profile Operations Summary" report.
        </para>
        <para>
            [-include "BaseOps_ShowMeHowLink.rxl" VideoName='BaseOps_CreatingReport - 2.wcsaf'-]
        </para>
    </section>
    <section>
        <title>
            Step 3
        </title>
        <para>
            To view the report on the screen, press the "View Report" button
            located in the lower-right portion of the BaseOps window.
        </para>
        <para>
            [-include "BaseOps_ShowMeHowLink.rxl" VideoName='BaseOps_CreatingReport - 3.wcsaf'-]
        </para>
    </section>
    <section>
        <title>
            Step 4
        </title>
        <para>
            To print the report, press the "Print Report" button.
        </para>
        <para>
            [-include "BaseOps_ShowMeHowLink.rxl" VideoName='BaseOps_CreatingReport - 4.wcsaf'-]
        </para>
        <note type='tip'>
            <para>
                Before printing a report, you may wish to print preview it. This
                will allow you to insure that the report format is suitable, and
                also to check the number of pages that will be printed.
            </para>
        </note>
    </section>
    <section>
        <title>
            Step 5
        </title>
        <para>
            To export the report to a file, press the "Export Report" button.
            The standard Microsoft Windows dialog box for choosing a file
            name will appear.
        </para>
        <para>
            Navigate to the directory where you want to save the report, and
            type the desired destination file name. Then, choose the format
            of the exported report --- either HTML or Text --- using the "Save
            as type" dropdown list. Finally, press the Save button.
        </para>
        <note type='note'>
            <para>
                If your report contains a large number of maps, exporting it to
                HTML can take several minutes, since each map must be converted
                into a (potentially large) image file.
            </para>
        </note>
        <para>
            [-include "BaseOps_ShowMeHowLink.rxl" VideoName='BaseOps_CreatingReport - 5.wcsaf'-]
        </para>
    </section>
    <section>
        <title>
            Step 6
        </title>
        <para>
            You can create custom reports showing just the information of
            interest to you. In this tutorial, we will create a report showing
            details of all departure flight profiles, sorted by aircraft name.
        </para>
        <para>
            First, click on the "Add Report" button <img
            src='intres:WCF_AddPlusSignToolbarButtonBitmap'/>, located in
            the upper-left portion of the BaseOps window.
        </para>
        <para>
            [-include "BaseOps_ShowMeHowLink.rxl" VideoName='BaseOps_CreatingReport - 6.wcsaf'-]
        </para>
    </section>
    <section>
        <title>
            Step 7
        </title>
        <para>
            In the box labeled "Name", type a descriptive name for this report.
        </para>
        <para>
            [-include "BaseOps_ShowMeHowLink.rxl" VideoName='BaseOps_CreatingReport - 7.wcsaf'-]
        </para>
    </section>
    <section>
        <title>
            Step 8
        </title>
        <para>
            Reports are comprised of one or more sections. We will now add
            a section displaying flight profiles. Press the "Add New Section"
            button <img src='intres:WCF_AddPlusSignToolbarButtonBitmap'/>,
            located in the lower-right portion of the BaseOps window. The
            "Select type of section to add" dialog box appears.
        </para>
        <exhibit>
            <img
            src='BaseOps_CreatingReport_SelectTypeOfSectionToAddDialogBox_ScreenCap.png'/>
        </exhibit>
        <para>
            Click on "Flight Profiles on Multiple Tables Showing Details",
            then press OK. The new section is added to the report.
        </para>
        <para>
            [-include "BaseOps_ShowMeHowLink.rxl" VideoName='BaseOps_CreatingReport - 8.wcsaf'-]
        </para>
    </section>
    <section>
        <title>
            Step 9
        </title>
        <para>
            Press the Edit Section button <img
            src='BaseOps_ThreeDotsButton_Figure.png'/>, located to the right
            of the newly added report section. The dialog box for editing
            that section's options is displayed.
        </para>
        <exhibit>
            <img
            src='BaseOps_CreatingReport_EditingSectionOptionsDialogBox_ScreenCap.png'/>
        </exhibit>
        <para>
            [-include "BaseOps_ShowMeHowLink.rxl" VideoName='BaseOps_CreatingReport - 9.wcsaf'-]
        </para>
    </section>
    <section>
        <title>
            Step 10
        </title>
        <para>
            When displaying information about an object (say, a flight profile),
            reports display <italic>fields</italic>: pieces of information
            about the object. Example fields for a flight profile include
            the profile's name, the associated flight track, and the number
            of day operations.
        </para>
        <para>
            You can select which fields to display in the report. In the list
            on the left side of the dialog box, click on "Fields". On the
            right side of the dialog box, the controls for selecting fields
            are displayed. Only those fields with checkmarks beside them will
            be displayed. A default subset of fields will already be checked.
        </para>
        <para>
            In this tutorial, assume we don't want to display the takeoff
            and landing displacements. Scroll the list down until these fields
            are visible, then uncheck their boxes.
        </para>
        <para>
            You can also select the order in which the fields are displayed
            in the report. Assume we want the aircraft name to be displayed
            first. Click on this field, then press the "Move Row Up" button
            to move this field to the top of the list.
        </para>
        <para>
            [-include "BaseOps_ShowMeHowLink.rxl" VideoName='BaseOps_CreatingReport - 10.wcsaf'-]
        </para>
    </section>
    <section>
        <title>
            Step 11
        </title>
        <para>
            You can select the order in which the flight profiles are displayed
            in the report. In this tutorial, we want to display them ordered
            by the aircraft name. First, in the list on the left side of the
            dialog box, click on "Sorting". Then, in the dropdown list labeled
            "Display flight profiles sorted by", choose "Aircraft Name".
        </para>
        <para>
            [-include "BaseOps_ShowMeHowLink.rxl" VideoName='BaseOps_CreatingReport - 11.wcsaf'-]
        </para>
    </section>
    <section>
        <title>
            Step 12
        </title>
        <para>
            You can choose to only include a subset of the flight profiles
            in the report. In this tutorial, we want to only display departure
            profiles.
        </para>
        <para>
            In the list on the left side of the dialog box, click on "Filtering".
            Then, click on the edit button <img
            src='BaseOps_ThreeDotsButton_Figure.png'/> labeled "Flight Track
            Types", and select only "Departure".
        </para>
        <para>
            [-include "BaseOps_ShowMeHowLink.rxl" VideoName='BaseOps_CreatingReport - 12.wcsaf'-]
        </para>
    </section>
    <section>
        <title>
            Step 13
        </title>
        <para>
            Press OK to close the dialog box. You can now view, print, and
            export the report.
        </para>
        <para>
            [-include "BaseOps_ShowMeHowLink.rxl" VideoName='BaseOps_CreatingReport - 13.wcsaf'-]
        </para>
    </section>
</section>
