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 » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

criteria for an empty date



 
 
Thread Tools Display Modes
  #1  
Old August 31st, 2004, 05:07 PM
June
external usenet poster
 
Posts: n/a
Default criteria for an empty date

Hi,
History: In my database I fill in a record for a product but not the date
field until the product is completed. My reports will not show this data
because I enter a criteria of Like "*/*". What I want to do is have a query
that will show me only the records that don't have the date filled in so I
can keep track of which ones have been entered and which ones haven't.

Question: How do I write criteria that will give me only the empty dates?
I have tried Not Like "*/*" but it doesn't work. I don't get any records
returned and I have at least three with empty dates.

Thanks for your help,

June
  #2  
Old August 31st, 2004, 05:19 PM
Brendan Reynolds
external usenet poster
 
Posts: n/a
Default

Where NameOfDateField IS NULL

--
Brendan Reynolds (MVP)
http://brenreyn.blogspot.com

The spammers and script-kiddies have succeeded in making it impossible for
me to use a real e-mail address in public newsgroups. E-mail replies to
this post will be deleted without being read. Any e-mail claiming to be
from brenreyn at indigo dot ie that is not digitally signed by me with a
GlobalSign digital certificate is a forgery and should be deleted without
being read. Follow-up questions should in general be posted to the
newsgroup, but if you have a good reason to send me e-mail, you'll find
a useable e-mail address at the URL above.


"June" wrote in message
...
Hi,
History: In my database I fill in a record for a product but not the date
field until the product is completed. My reports will not show this data
because I enter a criteria of Like "*/*". What I want to do is have a

query
that will show me only the records that don't have the date filled in so I
can keep track of which ones have been entered and which ones haven't.

Question: How do I write criteria that will give me only the empty dates?
I have tried Not Like "*/*" but it doesn't work. I don't get any records
returned and I have at least three with empty dates.

Thanks for your help,

June



  #3  
Old August 31st, 2004, 05:23 PM
Allen Browne
external usenet poster
 
Posts: n/a
Default

In the Criteria row of your query, under the date field enter:
Is Null

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"June" wrote in message
...
Hi,
History: In my database I fill in a record for a product but not the date
field until the product is completed. My reports will not show this data
because I enter a criteria of Like "*/*". What I want to do is have a
query
that will show me only the records that don't have the date filled in so I
can keep track of which ones have been entered and which ones haven't.

Question: How do I write criteria that will give me only the empty dates?
I have tried Not Like "*/*" but it doesn't work. I don't get any records
returned and I have at least three with empty dates.

Thanks for your help,

June



  #4  
Old August 31st, 2004, 05:51 PM
June
external usenet poster
 
Posts: n/a
Default

Thank you, that worked. And it was so easy too.

June

"Allen Browne" wrote:

In the Criteria row of your query, under the date field enter:
Is Null

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"June" wrote in message
...
Hi,
History: In my database I fill in a record for a product but not the date
field until the product is completed. My reports will not show this data
because I enter a criteria of Like "*/*". What I want to do is have a
query
that will show me only the records that don't have the date filled in so I
can keep track of which ones have been entered and which ones haven't.

Question: How do I write criteria that will give me only the empty dates?
I have tried Not Like "*/*" but it doesn't work. I don't get any records
returned and I have at least three with empty dates.

Thanks for your help,

June




 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Countif two criteria - Date and vendor John Worksheet Functions 6 August 4th, 2004 11:19 PM
Contract Expires 1st of 6th Month after Date entered! Wayne Worksheet Functions 14 December 31st, 2003 07:23 AM


All times are GMT +1. The time now is 01: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.