Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

Running a report with Checkboxes

Locked
saultpastor
Posts: 42
Joined: Sat Jul 18, 2015 8:04 pm
Has thanked: 1 time

Running a report with Checkboxes

Unread post by saultpastor »

I have a form that uses several check boxes, this works well when using the edit form, but not so well with a report. Is there a simple way to change the 1 or 0 to an X or a check mark?

Craig
admin
Site Admin
Posts: 2791
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 4 times

Re: Running a report with Checkboxes

Unread post by admin »

Craig,

I'm not sure exactly what you are asking.

Steven
saultpastor
Posts: 42
Joined: Sat Jul 18, 2015 8:04 pm
Has thanked: 1 time

Re: Running a report with Checkboxes

Unread post by saultpastor »

I'm sorry, When I run a report, a checkbox gets posted as a 1 or a 0. Is there a simple way to convert this to an X if 1 is present or null if 0 is present?

This is the edit form:
Image

This is the Report output:
Image

It must something that is dealt with all the time I just can't seem to find it.

Thanks
admin
Site Admin
Posts: 2791
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 4 times

Re: Running a report with Checkboxes

Unread post by admin »

saultpastor,

The easiest way would be to use a Dropdown or Listbox (instead of a checkbox) with the following in the SQL field..

Code: Select all

|No|X|Yes
t1.png
t1.png (1.6 KiB) Viewed 7796 times
t2.PNG
t2.PNG (1.54 KiB) Viewed 7796 times
Steven
saultpastor
Posts: 42
Joined: Sat Jul 18, 2015 8:04 pm
Has thanked: 1 time

Re: Running a report with Checkboxes

Unread post by saultpastor »

OK, Thanks.
admin
Site Admin
Posts: 2791
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 4 times

Re: Running a report with Checkboxes

Unread post by admin »

.
Locked