Demo application: highlighting bad-quality data in a Section Report.

This application illustrates how to highlight, in an Elipse E3 report, bad-quality data. Data with low quality can be generated by a communication issue, for example. To do so, we have created a script in the report where we can test the quality of the data being plotted.

  • Editor de script do relatório
  1. Sub Detail_Format
  2. if Me.Field4.Text < 192 then
  3. Me.Field2.ForeColor = System.Drawing.Color.Red
  4. else
  5. Me.Field2.ForeColor = System.Drawing.Color.Black
  6. end if
  7. if Me.Field5.Text < 192 then
  8. Me.Field3.ForeColor = System.Drawing.Color.Red
  9. else
  10. Me.Field3.ForeColor = System.Drawing.Color.Black
  11. end if
  12. End Sub
Sub Detail_Format
  if Me.Field4.Text < 192 then
    Me.Field2.ForeColor = System.Drawing.Color.Red
  else
    Me.Field2.ForeColor = System.Drawing.Color.Black
  end if

  if Me.Field5.Text < 192 then
    Me.Field3.ForeColor = System.Drawing.Color.Red
  else
    Me.Field3.ForeColor = System.Drawing.Color.Black
  end if
End Sub

If data quality is good, it will be printed in black. Otherwise, it will be printed in red.

Attachments:

AppBadQualityReport.zip

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *