Results 1 to 4 of 4
  1. #1
    mitchy1111 is offline Novice
    Windows XP Access 2003
    Join Date
    Oct 2009
    Posts
    9

    last contact

    Hello,



    I have a table which contains all our customer contact history, i.e. each time they contact us a record is created with the date and details. How can I query this data to show the last date that each customer had any contact with us?

    Cheers

    Martin

  2. #2
    dcrake's Avatar
    dcrake is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Aug 2009
    Posts
    435
    Use the group by customer and last appointment date in your query

  3. #3
    mitchy1111 is offline Novice
    Windows XP Access 2003
    Join Date
    Oct 2009
    Posts
    9
    Hi David,

    I don't have a last appointment date field in the table. There will be several contacts for each customer, I need the query to give me the last contact for each customer. Probably dead simple.

    Thanks for your help

  4. #4
    dcrake's Avatar
    dcrake is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Aug 2009
    Posts
    435
    No you don't grasp what I am stating. Create a new query and use the Sigma buton from the tool bar to create a group by query first bring down the cutomer id field then bring down the apppointment date field and change it rom group by to last or max.

    David

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

Similar Threads

  1. Receiving error on contact database
    By tcd2004 in forum Access
    Replies: 6
    Last Post: 03-12-2010, 06:43 AM
  2. email contact button
    By nwalke in forum Programming
    Replies: 3
    Last Post: 07-02-2009, 07:11 AM
  3. contact table issues
    By redknite in forum Database Design
    Replies: 5
    Last Post: 06-11-2009, 08:32 AM
  4. Access Contact Database
    By gpeterson82 in forum Access
    Replies: 0
    Last Post: 10-30-2008, 09:38 AM
  5. Replies: 0
    Last Post: 06-19-2007, 09:45 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