RunTime Reports
Sorry by my poor english
My APP brings data from Interbase Database. A field is Char(1) type with
allowed values: "T", "F".
I need that end user can apply mask to data, when design report at runtime,
to see others values when printing, "T" = "SI", "F" = "NO".
There are something like this:
IF (Table.Field[0].AsString = 'T', 'SI', 'NO')
regards
My APP brings data from Interbase Database. A field is Char(1) type with
allowed values: "T", "F".
I need that end user can apply mask to data, when design report at runtime,
to see others values when printing, "T" = "SI", "F" = "NO".
There are something like this:
IF (Table.Field[0].AsString = 'T', 'SI', 'NO')
regards
This discussion has been closed.
Comments
You could try using the DetailBand.BeforePrint event to check the value of
the field and set the value of a text object based on that information.
Something like the following...
lsValue := ppReport.DataPipeline['FieldName'];
if lsValue = 'T' then
ppLabel.Text := 'SI'
else
ppLabel.Text := 'NO';
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com