Results 1 to 3 of 3
  1. #1
    burrina's Avatar
    burrina is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383

    In query check for NO date

    What is the correct syntax to check a field for a no date value? That is, if it has no date in it?

    Or, how about the syntax in vba to check if dteentered has a date in it or is null or empty or whatever the correct terminology is?


    If Me.dteentered IsEmpty
    If Is Null dteentered
    If IsDate dteentered
    ???
    Last edited by burrina; 02-07-2013 at 12:00 AM. Reason: alternative

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,622
    If IsNull(Me.dteentered) Then

    or

    If Not IsDate(Me.dteentered) Then
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    burrina's Avatar
    burrina is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383
    Thank You! I am trying to filter out all of the dead data in my table.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 3
    Last Post: 10-25-2012, 10:04 PM
  2. Date Field Check against Saved Date?
    By Heatshiver in forum Programming
    Replies: 8
    Last Post: 03-26-2012, 11:01 PM
  3. Check for the Month only in a Date
    By taimysho0 in forum Programming
    Replies: 4
    Last Post: 01-20-2012, 01:16 PM
  4. Best way to check date.
    By Playerpawn in forum Access
    Replies: 1
    Last Post: 10-31-2011, 02:39 PM
  5. Date and time check
    By polis in forum Programming
    Replies: 2
    Last Post: 09-30-2011, 09:26 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums