A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Date Field Null Values



 
 
Thread Tools Display Modes
  #1  
Old July 15th, 2009, 04:37 PM posted to microsoft.public.access.gettingstarted
SteveH
external usenet poster
 
Posts: 69
Default Date Field Null Values

I have a table with two date fields, date created and date completed. I'm
trying to query the table for date completed equals null but it is not
returning any records. The criteria I am using is IsNull([CompletedDate]).
Please, any suggestions?
  #2  
Old July 15th, 2009, 04:49 PM posted to microsoft.public.access.gettingstarted
Clifford Bass[_2_]
external usenet poster
 
Posts: 1,295
Default Date Field Null Values

Hi Steve,

Just use "Is Null" in the criteria line of the query designer for that
field's column. In SQL it looks like:

select ... from ... where SomeColumn Is Null;

Clifford Bass

"SteveH" wrote:

I have a table with two date fields, date created and date completed. I'm
trying to query the table for date completed equals null but it is not
returning any records. The criteria I am using is IsNull([CompletedDate]).
Please, any suggestions?

  #3  
Old July 15th, 2009, 04:52 PM posted to microsoft.public.access.gettingstarted
SteveH
external usenet poster
 
Posts: 69
Default Date Field Null Values

Thanks. That did the trick.

"Clifford Bass" wrote:

Hi Steve,

Just use "Is Null" in the criteria line of the query designer for that
field's column. In SQL it looks like:

select ... from ... where SomeColumn Is Null;

Clifford Bass

"SteveH" wrote:

I have a table with two date fields, date created and date completed. I'm
trying to query the table for date completed equals null but it is not
returning any records. The criteria I am using is IsNull([CompletedDate]).
Please, any suggestions?

  #4  
Old July 15th, 2009, 05:13 PM posted to microsoft.public.access.gettingstarted
Clifford Bass[_2_]
external usenet poster
 
Posts: 1,295
Default Date Field Null Values

Hi Steve,

You are welcome!

Clifford Bass

"SteveH" wrote:

Thanks. That did the trick.

 




Thread Tools
Display Modes

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 Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:19 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.