Results 1 to 4 of 4
  1. #1
    Imjafo is offline Novice
    Windows 10 Office 365
    Join Date
    May 2022
    Posts
    1

    Query issue when trying to do a Inventory Report

    I’m trying to do an Inventory report. But in columns “Part #1, Part #2, Part #3 etc. are showing the PartsID instead of the PartName.

    I’d like to fix this, but I have no idea on how.



    I know it’s got to be a simple fix in queries. This is how it’s set up now. Every adjustment I’ve tried, just breaks the database.

    I figured out a work around by exporting my Inventory Report into excel. I wrote a code that changes the PartID to the Part name but it’s a pain to go through all of that. It would be some much easier to have Access do it from the beginning.
    I’d appreciate any feedback.
    Attached Files Attached Files

  2. #2
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,556
    What good is a Docx?

    You are probably using table lookups, which is NOT a good idea unless you know how they work.
    Join the tables and use a query to get the part descriptions.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  3. #3
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    columns “Part #1, Part #2, Part #3 etc.
    I smell a table that is designed like a spreadsheet. Records in database tables should be in rows and related to other records in other tables via related fields. That reads like the table(s) record data is in columns.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  4. #4
    madpiet is offline Expert
    Windows 10 Office 365
    Join Date
    Feb 2023
    Posts
    565
    It's hard to help if you give us only pictures. hard to tell if your table design is right. Got a mini version of your database?

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

Similar Threads

  1. Replies: 10
    Last Post: 04-13-2017, 06:37 PM
  2. Replies: 12
    Last Post: 03-11-2015, 08:13 PM
  3. Replies: 1
    Last Post: 11-05-2014, 11:08 AM
  4. Replies: 1
    Last Post: 02-21-2013, 12:18 AM
  5. Products Inventory Dilema,Add To Inventory
    By burrina in forum Forms
    Replies: 3
    Last Post: 12-02-2012, 12:10 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