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
- 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: