Microsoft Access Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft Access Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old August 2nd, 2005, 11:20 AM
denels2 denels2 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Posts: 12 denels2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 4 m 9 sec
Reputation Power: 0
Nullable Fields

I am wondering if there is a way to (In a parameter query) search for nullable fields. I have records which use a "Nickname" for users however, not all user's still use a nickname. a handful do not have one. Thus I would like to do a search for nullable "Nicknames" but can't seem to figure it out. It is not a required field, should it be? I tried to do a search for "" and Is Null neither worked... I'm at a loss here... can anyone help me. Thanks!

Reply With Quote
  #2  
Old August 2nd, 2005, 01:49 PM
lwells lwells is offline
Contributing User
Dev Articles Novice (500 - 999 posts)
 
Join Date: Sep 2004
Posts: 632 lwells User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 21 h 59 m 38 sec
Reputation Power: 4
Try this for your criteria below the nickname field in your query:

[Select Nickname] Or (Is Null And [Select Nickname] Is Null)

When you run the query and the parameter asks for the nickname, if the user presses Okay without entering any nickname, all names without a nickname will show up.

Was this what you were looking for?

lwells

Reply With Quote
  #3  
Old August 3rd, 2005, 06:27 AM
denels2 denels2 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Posts: 12 denels2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 4 m 9 sec
Reputation Power: 0
yes perfect!

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft Access Development > Nullable Fields


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway