Results 1 to 3 of 3
  1. #1
    fabiobarreto10 is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Dec 2011
    Posts
    169

    difficulty performing a query

    friends,

    I'm having difficulty performing a query. I have a table with fields DATE_1 and Date_2. How do I know the records where the date DATE_1 is greater than Date_2.

    Thank you.

  2. #2
    alansidman's Avatar
    alansidman is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    Create a new field and place this Expression in the field. Calc: IIF([Date_1]>[Date_2],"yes","no"). Then if you only want to see the records that are True/Yes, then put "Yes" in the criteria for this field.

  3. #3
    fabiobarreto10 is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Dec 2011
    Posts
    169
    Perfect,

    Thank you so very much.

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

Similar Threads

  1. Difficulty returning ADODB recordset from function
    By randman1 in forum Programming
    Replies: 4
    Last Post: 07-19-2012, 01:07 PM
  2. Synchronized Combo Box Difficulty
    By abc in forum Access
    Replies: 2
    Last Post: 01-03-2012, 03:18 PM
  3. Having difficulty with Date use
    By tamtheram in forum Forms
    Replies: 2
    Last Post: 04-19-2011, 07:26 AM
  4. Performing count in VBA
    By jgelpi16 in forum Programming
    Replies: 3
    Last Post: 08-21-2010, 07:41 PM
  5. Limit to List difficulty
    By cjtemple in forum Forms
    Replies: 1
    Last Post: 07-02-2010, 10:50 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