1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Access Query

Discussion in 'Business Applications' started by MissMell, Oct 17, 2003.

Thread Status:
Not open for further replies.
Advertisement
  1. MissMell

    MissMell Thread Starter

    Joined:
    Oct 17, 2003
    Messages:
    3
    Hello All,

    I am having a very difficult time creating an access query to filter specific data. I am looking to create a query to filter out a latest date for customers.

    For example:

    Current Table Data
    FName LName Company CallInDate
    Jane Doe Carp 10/02/2003
    Jane Doe Carp 10/05/2003
    John Doe Carp 10/02/2003
    John Doe Carp 10/05/2003

    I would expect my query results to display the latest CallInDate specifically for each customer name, even if they are in the same company.

    Expected Query Results
    Jane Doe Carp 10/05/2003
    John Doe Carp 10/05/2003

    I am not skilled in expressions, operators, etc. so I have not been successful. Is this possible to do?

    Any suggestions are appreciated.
     
  2. LinuxGold

    LinuxGold

    Joined:
    Oct 10, 2003
    Messages:
    109
    "> 10/05/03" (without quotes) in the criteria area in query design mode under "CallInDate" column
     
  3. MissMell

    MissMell Thread Starter

    Joined:
    Oct 17, 2003
    Messages:
    3
    Thanks for the info. The only thing is, the CallInDate can vary. My example is pretty simple, but in the real table one customers latest CallInDate may be 2/2/2000 when anothers is 10/17/2003, so I realy cannot filter greater than or less than a date. Any other suggestions?
    Thanks
     
  4. LinuxGold

    LinuxGold

    Joined:
    Oct 10, 2003
    Messages:
    109
    make more selection down the criterias such as:

    =10/5/03 (selecting extact date 10/5/03)

    play around with >, <, = (<> meaning not equal to)
    and use AND, OR as well.
     
  5. XL Guru

    XL Guru

    Joined:
    Aug 30, 2003
    Messages:
    2,702
    In Design View, click the Totals (Greek E) button. This'll add a Total row in the lower pane.

    Each Total field should show "Group By" by default. Change the setting for Call-In Date to Max & run the query.

    HTH,
    Andy
     
  6. MissMell

    MissMell Thread Starter

    Joined:
    Oct 17, 2003
    Messages:
    3
    Thank you all very much. With your suggestions and others, I was able to create the query as expected.

    Again, thank you
     
  7. LinuxGold

    LinuxGold

    Joined:
    Oct 10, 2003
    Messages:
    109
  8. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/172744

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice