Data Bands
Previous Topic  Next Topic 

Data bands are used to format a report with headers and footers, to report on data from the DMS tables (such as Order Number, Job Identification, etc.) and to report on Variables.  Not all of the data bands available are used in the DMS report examples installed with the system  They are included in the documentation in case you want to modify a report and see a purpose to use the band.  


DMS Reports has the following data bands:


  1. Master Data  The Master Data Band is used to report on one dataset such as jobs and it is also used when reporting on a master/detail relationship such as jobs and operations.  If a master detail relationship is required, there would be one Master Data Band to one or more Detail Data Bands.
  2. Detail Data  The Detail Data Band is used with a Master Data Band to setup one or more master/detail relationships such as jobs (master), job user fields (detail), and operations (detail) relationships.
  3. Subdetail Data  This band is used as subdetail to the Detail Data Band.  It is not in the DMS reports.
  4. Data 4th level  This band is 4th level detail and not used in the DMS reports.
  5. Data 5th level  This band is 5th level detail and not used in the DMS reports.
  6. Data 6th level  This band is 6th level detail and not used in the DMS reports.
  7. Group Header  The Group Header Band is used for grouping information together and depends on the sort selected for a report.  In order for report grouping to work correctly, the correct sort needs to be used when you use the View Report/Print Report buttons.
  8. Group Footer  The Group Footer Band is used as a footer for the Group Header.
  9. Child  The Child Band is used to link the Master Data Band to the Child band, by setting its "Child" property to "Child1" in the object inspector. Each time the Master Data Band prints, the Child band is printed immediately after it.  This type of band is sometimes used after sub reports.
  10. Column Header  The Column Header Band is used for column headings for another data band.  Usually it is used for headings to the Detail Data Band for datasets such as operations, job user fields, material, etc.
  11. Column Footer  This band is used as a column footer to another data band such as the Detail Data Band.


Before you can add DMS data to a data band, you should select what DMS datasets (tables) you want on your report.  To select the DMS Datasets, from the DMS Report designer select Report | Data.  A menu listing the datasets available for the report appears.  The list of datasets depends on the report's DMS Report type.  The example below shows the datasets available for a Jobs report type:



To select a dataset, check the box next to the dataset and click the OK button.  If you forget to add a dataset or you wish to remove a dataset that is not used, simply open the Select Report Datasets and check or uncheck the datasets as required.


Once you have selected the DMS datasets you want on your report, you add one or more data bands and connect each data band to a DMS dataset.  For example, you could connect the master data band to the DMS Jobs dataset.  This data band could then report on the job information such as Order number, Job Identification, Due Date, Scheduled End Date, etc.


Data bands have a hierarchy for reporting.  The Master Data Band is the top data band.  If you are going to report on only one dataset, you need one master data band.  The hierarchy of data bands is as follows:


  1. Master Data 
  2. Detail Data
  3. Subdetail Data
  4. Data 4th level
  5. Data 5th level
  6. Data 6th level


In the majority of cases, DMS reports uses only one or two data bands; a Master Data Band, or a Master Data Band and one or more Detailed Data Bands.  To understand the relationship of the Master Data Band and the Detail Data Band consider the relationship between jobs and operations.  The job would be in the Master Data Band and the operations would be in the Detail Data Band.  For each job (Master) there may be zero or more operations (Detail).

  

See DMS Report Tutorials for step by step examples on how to create a new DMS Report.