Re: Can I get rid off the blank item in drop down list?
- From: fredg <fgutkind@xxxxxxxxxxxxxxx>
- Date: Mon, 11 Apr 2005 16:42:08 GMT
On Mon, 11 Apr 2005 01:49:04 -0700, Sam Kuo wrote:
> Hi Fred,
> Thanks for your help. But the Where clause causes a syntax error (missing
> operator) in query expression '[DWGNo] Where [DWGNo] is not null'
>
> How to fix this?
>
> Regards,
> Sam
>
> "fredg" wrote:
>
>> On Sun, 10 Apr 2005 03:27:03 -0700, Sam Kuo wrote:
>>
>>> Hi everyone,
>>>
>>> I have a combo box with its RowSource based on a query. Its RowSource
>>> property looks like this:
>>>
>>> SELECT DISTINCT [DWGNo] FROM qryReidProductDrawings ORDER BY [DWGNo];
>>>
>>> Because there are some blank records in the DWGNo field of
>>> qryReidProductDrawings, the drop down list also contains a blank item as a
>>> selection option. Can I somehow get rid off the blank item from the combo
>>> box's drop down list? Any suggestion is appreciated.
>>>
>>> Regards,
>>> Sam
>>
>> SELECT DISTINCT [DWGNo] FROM qryReidProductDrawings ORDER BY [DWGNo]
>> Where [DWGNo] is not null;
>>
>> --
>> Fred
>> Please only reply to this newsgroup.
>> I do not reply to personal email.
>>
Yeah, I just added the where clause at the end, but I should have
placed in before the Order By.
.... Where [DWGNo] is not null Order By [DWGNo];
--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
.
- Follow-Ups:
- Re: Can I get rid off the blank item in drop down list?
- From: Sam Kuo
- Re: Can I get rid off the blank item in drop down list?
- References:
- Can I get rid off the blank item in drop down list?
- From: Sam Kuo
- Re: Can I get rid off the blank item in drop down list?
- From: fredg
- Re: Can I get rid off the blank item in drop down list?
- From: Sam Kuo
- Can I get rid off the blank item in drop down list?
- Prev by Date: Re: Data Entry "Property" Not working
- Next by Date: Re: Confused about how to make subforms visible/invisible
- Previous by thread: Re: Can I get rid off the blank item in drop down list?
- Next by thread: Re: Can I get rid off the blank item in drop down list?
- Index(es):
Relevant Pages
|