PC Review


Reply
Thread Tools Rate Thread

Displaying Yes/No as Yes or No instead of -1 and 0

 
 
laeldo
Guest
Posts: n/a
 
      25th May 2010
Hi, this should be simple but it's still giving me trouble. I have a
drop-down combobox that is referencing a table with two columns, like
this:

0 No
1 Yes

The column count is 2 and the column widths are 0";1" but the drop-
down displays 0 and -1. I know that this is how Access stores yes/no,
but can't I get it to store 0 and 1 instead and display the words
instead of the numbers?

Thanks for the help!
 
Reply With Quote
 
 
 
 
laeldo
Guest
Posts: n/a
 
      25th May 2010
On May 25, 12:51*pm, "BruceM via AccessMonster.com" <u54429@uwe>
wrote:
> Are you saying you have a two-record table as the Row Source of the combobox?
> If so, what are the data types of the two fields? *To what type of field is
> the combo box bound?
>
> Is there a reason you don't want to store the Boolean (Yes/No) values?
>
> laeldo wrote:
> >Hi, this should be simple but it's still giving me trouble. I have a
> >drop-down combobox that is referencing a table with two columns, like
> >this:

>
> >0 * *No
> >1 * *Yes

>
> >The column count is 2 and the column widths are 0";1" but the drop-
> >down displays 0 and -1. I know that this is how Access stores yes/no,
> >but can't I get it to store 0 and 1 instead and display the words
> >instead of the numbers?

>
> >Thanks for the help!

>
> --
> Message posted viahttp://www.accessmonster.com


I checked the data type of the two fields and changed them both to
text and now it works! I want the words to display for the data entry
people, who find the numbers confusing. I prefer to store the values
as 0/1 since this is the convention that we use for everything else
and will make data analysis simpler. Thanks!!
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pictures Displaying / Not Displaying realtyonegroup Microsoft Frontpage 2 16th Nov 2009 02:38 AM
Displaying Ram etc JKGlassman Windows Vista General Discussion 0 22nd Nov 2007 04:52 AM
Displaying a XML using XLS =?Utf-8?B?QmVybmFyZG8gR29tZXM=?= Microsoft ASP .NET 3 4th Feb 2004 05:41 PM
combo box not displaying data if limit to list opetion set and displaying item not in list.... Chris Strug Microsoft Access Form Coding 4 3rd Oct 2003 03:44 PM
Not displaying JPG Lora Adrianse Windows XP Internet Explorer 1 6th Aug 2003 05:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:54 PM.