Results 1 to 4 of 4
  1. #1
    netchie is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Aug 2010
    Posts
    92

    Red face Forms: To Show Specific Fields

    Hi,



    My main menu shows the window as to which data needs follow-up based from it's ScheduledFollowUpDate and Status. I only need to show anything that has Status of "On-going" with blank ScheduledFollowUpDate (no date) but I am having a hard time to show both. What I have below shows all "On-going" but with FollowUpDate that is not blank.

    SELECT tCARs.CarNo, tCARs.ScheduledFollowUpDate, tCARs.CreationDate, tCARs.Frequency, tCARs.Status
    FROM tCARs
    WHERE (((Date())>=tCARs.ScheduledFollowUpDate-14)) AND tCARs.Status="On-going"
    ORDER BY tCARs.ScheduledFollowUpDate;

    I know I am missing for my ScheduledFollowUpDate that should have blank date but I don't know how to do it. Can you please help me?

    Thanks,
    netchie

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,529
    How about:

    WHERE tCARs.ScheduledFollowUpDate Is Null AND tCARs.Status="On-going"
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    netchie is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Aug 2010
    Posts
    92
    Hi pbaldy,

    Thanks for helping me again.

    It worked... it worked... it worked!!!!

    Thanks again and more to come from me hehehe.

    Thanks,
    netchie

  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,529
    Happy to help Nanette!
    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. Subreport will not show specific data
    By mitchy1111 in forum Reports
    Replies: 1
    Last Post: 05-18-2011, 07:36 AM
  2. Query to show only specific records
    By CEV in forum Queries
    Replies: 5
    Last Post: 03-30-2011, 09:42 AM
  3. Replies: 0
    Last Post: 01-03-2011, 03:38 PM
  4. specific criteria using forms for a query
    By timmah in forum Queries
    Replies: 7
    Last Post: 10-14-2010, 03:43 PM
  5. Text Box to show specific record
    By chu3w in forum Forms
    Replies: 1
    Last Post: 04-01-2010, 12:23 PM

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