Results 1 to 4 of 4
  1. #1
    LanieB is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Nov 2011
    Posts
    54

    Talking Query all records with a date

    Hello all!!

    I've got a database for grades. I'm trying to figure out what I need to place in this query to pull all records with any dates entered into that certain cell.



    Some people have taken some classes, others haven't, I want to query all employees that have taken the class.

    I can't figure out what to put to pull the records for all of the employees with a date entered.

    AS ALWAYS, thank you for all your help

  2. #2
    LanieB is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Nov 2011
    Posts
    54
    I also have the same type of question for a TEXT field. They are assigned a series of numbers and letter from the company as an ID. How to I tell the query to search for all results that have 'any text' entered into that field.

  3. #3
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,641
    SELECT *
    FROM TableName
    WHERE IsDate(FieldName)
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,641
    WHERE FieldName Is Not Null

    or if there could be zero length strings

    WHERE Len(FieldName) > 0
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 3
    Last Post: 07-13-2012, 09:18 AM
  2. Replies: 8
    Last Post: 03-07-2012, 01:18 PM
  3. Query to find all records after a certain date
    By Matt Parsons in forum Queries
    Replies: 2
    Last Post: 08-24-2011, 06:22 AM
  4. Date function to query records and Sum records
    By sullynivek in forum Queries
    Replies: 0
    Last Post: 04-05-2011, 08:37 AM
  5. Replies: 4
    Last Post: 01-29-2009, 02:43 AM

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