Results 1 to 3 of 3
  1. #1
    pumpkinhead is offline Novice
    Windows 8 Access 2013 64bit
    Join Date
    Mar 2017
    Posts
    1

    Question Getting Latest Status through Query


    Hello Seniors,

    Scenario:
    Table A (Issues Table) : Contains all the issues with a unique number.
    Table B (Issues Follow Up Table) : Contains heaps of Columns,10 follow ups record [each follow up phase have 8 columns].

    Additional info: Table B, the follow up of all the issues (issues in table A) are on different follow ups, some at 1st, or 3rd or 8th or even 10th.

    End result:
    I want to generate a query that will present, all the Issues (I have already did it) along with the LATEST FOLLOWUP details.

    Wondering if someone can guide me.
    Appreciated, thanks.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    Table B is designed wrong. (Normalization)
    You don't make 10 columns: ProbID,followup1, followup2,etc.
    you create 2 columns: ProbID, followup.
    now you can have infinite follow ups, and can query on 1 field, data entry on 1 field.
    Access queries search vertically ,not horizontally across the record.

    The way you have it will require a separate query for each followup field.

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    I agree with ranman --the table design is a major concern. And it is a common problem with people new to database.
    Normalize the table.
    There are several articles/videos available via Google/Bing

    Here is one that may be helpful.

    Good luck.

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

Similar Threads

  1. Student/lecture latest query,
    By ariansman in forum Queries
    Replies: 9
    Last Post: 08-24-2018, 01:39 PM
  2. Query Latest Status
    By joejambul in forum Queries
    Replies: 1
    Last Post: 10-03-2013, 02:39 AM
  3. Replies: 4
    Last Post: 06-20-2013, 10:26 PM
  4. Query latest record
    By asherbear in forum Queries
    Replies: 5
    Last Post: 08-02-2010, 03:58 PM
  5. Query for latest date? what am I doing wrong?
    By Overdive in forum Queries
    Replies: 1
    Last Post: 12-18-2009, 06:04 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