Results 1 to 4 of 4
  1. #1
    jpvonhemel is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Oct 2011
    Posts
    39

    Last Visit Date in Table of Multiple patient visits

    I have a table that has multple visits for multiple patients. The account number is unique to the visit, PT ID unique to the patient. I am needing help writing a query that returns the records with the LAST AdmitDate for EACH PT ID. I am not sure how to proceed. Evaluating the date between multiple records is confusing me. I would appreciate any direction to accomplish this. I attached a sample showing the basics of how my table is formatted.



    Thank you very much,

    Jerold
    Attached Files Attached Files

  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,641
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    jpvonhemel is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Oct 2011
    Posts
    39
    Yes, I think maybe it will. Thanks. I'll see what I can come up with.

  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
    No problem; post back if you get stuck.
    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. Adding a date to multiple records in table
    By KChilly in forum Programming
    Replies: 9
    Last Post: 08-30-2012, 10:43 AM
  2. Replies: 1
    Last Post: 05-25-2012, 04:13 PM
  3. Replies: 17
    Last Post: 01-29-2012, 01:28 PM
  4. Number of Days between visits
    By gstullo in forum Queries
    Replies: 5
    Last Post: 12-19-2011, 10:08 AM
  5. Access for recordig visits on a Daily Basis
    By phineas629 in forum Access
    Replies: 4
    Last Post: 05-13-2011, 11:18 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