[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


SQL Reporting Checkbox

Posted on 2006-04-27
Medium Priority
Last Modified: 2008-03-17
Hi All---

Quick question I'm surprised that I couldn't easily find an answer for...  Creating a report in SQL reporting from a SQL DB.  DB has some bit fields (0,1) that I'd like to display on my report as a checkbox.  The query in SQL Reporting interprets these fields as True/False which I assume is fine--but wants to display it as a text field only.  Is there a way to write an expression or change the format so that this field will show on the report as a checkbox?  Or barring that, how 'bout changing the output to something a little more user friendly like  True = "Completed", False = "Not Completed".

Thanks for your help...  P.S.--going out of town on a fishing trip this weekend so I won't be  able to immediately respond but rest assured I won't leave you hanging!

Question by:rz1224
LVL 14

Accepted Solution

simon_kirk earned 500 total points
ID: 16560359
Quickest way I found was to use a font like Webdings or Wingdings, where there are check and cross characters.  Find the characters that show what you need and then use an expression in your textbox using somthing like =IIF(MyField.Value=1,"t","h")

Author Comment

ID: 16580114
Thank you Simon--That'll work!

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
Screencast - Getting to Know the Pipeline
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question