+ Reply to Thread
Results 1 to 2 of 2

Access Query/SQL display table code descriptions for multiple codes

  1. #1
    Registered User
    Join Date
    08-09-2017
    Location
    Indiana
    MS-Off Ver
    Execl 2013, Windows 10
    Posts
    23

    Question Access Query/SQL display table code descriptions for multiple codes

    Doing an Access Query with 2 tables,
    Table 1-Agency_Claims contains user, agency, codes (up to 3 codes per user)
    Table 2-CLAIM_CODES contains the code & descriptions with fields agency, code, code description.
    Need to create a query that contains the descriptions next to each code. My attempt (attached file shows results) ends up displaying the first code's description for all three codes for each client.

    Made multiple adjustments with the joins - and didn't resolve.
    Tried using criteria on the NAME field to indicate if agency_claims.code=claim_codes.code_type. that didn't work either

    How can I get User, Agency Code1 CodeNAME (for code1), Code2 CodeNAME (for code2), Code3 CodeNAME (for code3) to display?

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by AliGW; 02-04-2018 at 07:49 AM. Reason: Unnecessary [highlight] 'tag' removed from thread title.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2403 Win 11 Home 64 Bit
    Posts
    23,810

    Re: [highlight]Access Query/SQL display table code descriptions for multiple codes

    Suggest you upload a sample of your db. You will have to zip it to upload. Only supply enough data to represent your situation. Run a compact and repair before uploading. Also attach an excel sheet mocked up to show what the output should look like for the sample provided.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 09-18-2017, 01:54 AM
  2. Replies: 3
    Last Post: 10-14-2015, 11:05 PM
  3. I need Macro(VBA code) to Highlight Invalid Country Codes in a column
    By narendrabr in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 08-31-2012, 07:01 AM
  4. I need Macro(VBA code) to Highlight Invalid Country Codes in a column
    By narendrabr in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 08-27-2012, 12:16 PM
  5. Display the access query result.
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-18-2010, 06:09 AM
  6. Adding descriptions to product codes
    By paulboy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-18-2009, 05:26 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1