Yes/No check box in report

Getting your data onto paper - or the web - Discussing the reports features of Base
Post Reply
SusanMontauk
Posts: 1
Joined: Fri Feb 22, 2013 6:07 pm

Yes/No check box in report

Post by SusanMontauk »

I love the way yes/no formatted columns appear in tables and queries. Now I would like to see that in a report. Instead, I get true/false. I am trying to put out a simple attendance form, and that doesn't look so good.
OpenOffice 3.4.1 Windows7 64-bit
F3K Total
Volunteer
Posts: 1038
Joined: Fri Dec 16, 2011 8:20 pm

Re: Yes/No check box in report

Post by F3K Total »

Hi,
if you use the Reportbuilder,
try this formula on the data tab of the boolean field

Code: Select all

IF([boolean field];"☑";"☐")
Works for me with the english Version of LO, but not with the german version of AOO 3.4.1, maybe with yours?
R
Edit: I found out that the Oracle Report builder doesn't do that, it works only with the report builder of LibreOffice, which can't be downloaded, 'cause it's included in the LO package.
  • MMove 1.0.6
  • Extension for easy, exact positioning of shapes, pictures, controls, frames ...
  • my current system
  • Windows 10 AOO, LOLinux Mint AOO, LO
Nocton
Volunteer
Posts: 533
Joined: Fri Nov 05, 2010 10:27 am
Location: UK

Re: Yes/No check box in report

Post by Nocton »

Make a query with a field specified as

Code: Select all

CASEWHEN( [MyField], 'Yes', 'No' )
where MyField is the name of your boolean filed in your table. Now just use that query as the data source for your report.

Regards,
Nocton
OpenOffice 4.1.12 on Windows 10
Post Reply