yes/no field format in table for a check box control

coline

New Member
Joined
Apr 18, 2003
Messages
37
I am having a problem maintaining the value of check box data as "yes" or "no" instead of as "-1" and "0".

According to MS Access help:

When you select or clear a check box that's bound to a Yes/No field in a Microsoft Access database or a Bit column in a Microsoft Access project, Access displays the value in the underlying table according to the field's Format property (Yes/No, True/False, or On/Off).

However, if I set my field format to yes/no with the yes/no data type, I see the check box in the table, and when I run a report, the values remain -1, 0.

Likewise, I can switch my data type to text and keep the yes/no format, which works to change all the check boxes in the table to yes or no. However, when I enter more data using the check box control on the form, the newly entered data show up as -1, 0 again.

Egad! Why can't I just maintain the yes/no format??

Your help is appreciated!!

Coline
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

Forum statistics

Threads
1,214,923
Messages
6,122,283
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top