Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Filtering Text Boxes 1

Status
Not open for further replies.

infinitx

Technical User
Feb 26, 2004
212
0
0
US
Hi,

I want to filter a text box not to display the word "none" if there is such record present. I also want to filter out Null Records.

In combo box, I do it this way:

Code:
SELECT [ICL 1].[ICL 1], [ICL 1].ItemID2 FROM [ICL 1] WHERE [ICL 1] Is Not Null And [ICL 1]<>"None";

How do you do it with a text box?

Thanks a lot!

----
Alex

Anytime things appear to be going better, you have overlooked something.
 
Something like this ?
=DLookUp("ItemID2", "[ICL 1]", "[ICL 1] Is Not Null And [ICL 1]<>'None'")

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Thanks PHV!


----
Alex

Anytime things appear to be going better, you have overlooked something.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top