Sybase InfoMaker 11.5, CD, Win, ENG Especificaciones Pagina 656

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 828
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 655
Four examples
634 InfoMaker
Here is the last page of the report, with the total number of males and females
in the company displayed.
If you want more
information
What if you decide that you also want to know the number of males and
females in each department in the company?
To display the males and females in each department:
1 Select Design>Data Source from the menu bar so that you can edit the data
source.
2 Select Design>Select tables from the menu bar and open the Department
table in the Select painter workspace, which currently displays the
Employee table with the Emp_id and Sex columns selected.
3 Select the department_dept_name column to add it to your data source.
4 Select Rows>Create Group from the menu bar to create a group and group
by department name.
5 In the trailer group band, add two additional computed fields:
Sum(If(sex = "M", 1, 0) for group 1)
counts the number of males in each department;
Sum(If(sex = "F", 1, 0) for group 1)
counts the number of females in each department.
Vista de pagina 655
1 2 ... 651 652 653 654 655 656 657 658 659 660 661 ... 827 828

Comentarios a estos manuales

Sin comentarios