Depends on your scripting language for the report but
in general you simply need to specify expression for
the field as
($F{boolean_field} == true)? 1:2

--- Peter Dawn <[EMAIL PROTECTED]> wrote:

> guys,
> 
> i am implementing jasper reports within my tapestry
> web app. and i am
> sorry i should probably post this to jasper forums,
> but i am really in
> urgent need for help here.
> 
> i have a field which is returning a boolean value
> true or false. i
> want to replace a true with a 1 and a false with a 2
> within my report.
> how can i do this.
> 
> can somebody pls help me out here. thanks and sorry
> for posting here.
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to