Skip to main content

RTC Report - Formatting Boolean Values as Check Mark and X Mark.

Hi All,

This post only show steps about how to Format Boolean Values in RTC Reports.

If you don't know this, then please go ahead.

I received a query to put a check mark or X mark for a Boolean field in Navision RTC Report.

Let's see how we can achieve it.

 I will be creating a new report based on Item Table as below is the data set.



Open Report Layout on Visual Studio or Report Builder. create a table and assign all three fields in table body as shown below.



Save and Run the Report, Output will look like something as shown below.



Let's Design the Report to Change True/False to Check Mark/X Respectively.

1. Select Text Box under Body for Blocked and Cost IS Adjusted and change the Font to Webdings as shown below.



2. Go To Expression of Blocked and Cost is Adjusted Field and change it as Below -

Blocked
=IIF(Fields!Blocked.Value=true,"a","r")

Cost Is Adjusted
=IIF(Fields!Cost_Adusted.Value=true,"a","r")



Save the Report and Run the Report Again. Below is the old and New Output.


So that was simple, we just need to identify the font that will convert the charter to symbol.

If you still have issues download the objects from SkyDrive.
File Name - NAV 2013 R2_Test Check Mark Report.rar

Regards,
Saurav Dhyani
www.sauravdhyani.com

Comments

Popular posts from this blog

Send Mail with Attachment From Navision.

Hi all, We have seen how to save a report into PDF and how to send mail to a customer. Let's link these two post in one i.e. Mailing statement to a customer into PDF Format. This article is part of the Series. Please Refer  Table of Content here . If you have the old objects set let me brief you what I will be changing - 

Dynamics 365 Business Central 2021 release wave 2 (BC19) Released.

Hi Readers, As we all were expecting Microsoft have Released Business Central 2021 Release Wave 2 Today a.k.a BC19. In this article we will see what all is announced with the General Availability.  Starting Today Customers & Partners can start using Business Central 19. #msdyn365bc #bc19

Error After Restore SQL Backup of NAV 2013 Database

Hi all, we are facing a conman issue during restoring a SQL Database backup restored for NAV 2013. While Trying to run object from Object Designer we get below listed error (even the service is configured properly) - --------------------------- Microsoft Dynamics NAV Development Environment --------------------------- There are no NAV Server instances available for this database. You must ensure that a NAV Server instance is running and is configured to use the database before you perform this activity. --------------------------- OK    ---------------------------