Re: List Vs Combo and Null values
- From: Debbiedo <deb_dolittle@xxxxxxxxx>
- Date: Thu, 29 May 2008 09:16:15 -0700 (PDT)
On May 28, 11:40 pm, "Brent Spaulding \(datAdrenaline\)"
<datadrenal...@xxxxxxxxxxxxx> wrote:
Is the control BOUND to a Field of TEXT datatype? ... if so, your field
should be defined to allow Zero Length Strings and possibly set the default
value to "" (a zero length string) simply because a ListBox and ComboBox
will only return a Null if NO ITEM is selected, if an item is selected the
control will return a String ...even if the bound column is numeric, it is
still a string.
--
Brent Spaulding | datAdrenaline | Access MVP
"Debbiedo" <deb_dolit...@xxxxxxxxx> wrote in message
news:68bfb844-cfc0-4f5c-b907-b7d1160a88df@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Why when I have this syntax in the Row Source for a List Box, the null
values display the word "CAN" but when I convert it to a Combo Box (to
eliminate the annoying black background) the word "CAN" does not
appear? What would be the work around for this? I want to stay away
from macros because this report is shared and macros locked out by
many of its users.
"";"CAN";"X";"CANNOT"
Thanks
Deb- Hide quoted text -
- Show quoted text -
The properties are set to Allow Zero Length and default is set to "",
but the results are still displayed only if the value in the field
equals "X". The word "Can" does not display when the value in the
field is Null or "".
Any other ideas? Can I do this using vb, if so, how? I may have to
just pass the word not to disable macros.
Thanks
Deb
.
- References:
- List Vs Combo and Null values
- From: Debbiedo
- Re: List Vs Combo and Null values
- From: Brent Spaulding \(datAdrenaline\)
- List Vs Combo and Null values
- Prev by Date: Re: List Vs Combo and Null values
- Next by Date: Re: Only if 1 of 3 checked
- Previous by thread: Re: List Vs Combo and Null values
- Next by thread: Re: List Vs Combo and Null values
- Index(es):
Relevant Pages
|