Results 1 to 3 of 3
  1. #1
    donlinux152 is offline Novice
    Windows 10 Access 2016
    Join Date
    May 2021
    Posts
    2

    Tables with duplicate data, structure question.

    Greetings.
    I currently have a forecasting database with 3 separate tables.
    1. INFO (which is my main table) has a product#, part# and all pertinent information relating to the product.
    2. ORDERTABLE which duplicates product# and has fields for my forecasting "orders"
    3. SALESOUTTABLE which duplicates product# and has fields for sales out per item from 2018 to present by month.



    I know that I'm not supposed to have duplicate information in separate tables but my issue is this.
    Due to the structure of our organization I am not allowed to directly access our main "somewhat archaic but functional" database but can pull data "reports" in excel format from it.
    Each table that I have has fields/records that are updated on a daily basis with a downloaded spreadsheet and an update query, plus has input from me added.
    The problem I have is that each spreadsheet has it's own quirks, spaces, etc that make them unique and different.
    Fortunately, we don't add additional skus that often and being that I'm the only one using this database, I just update the INFO table which has autonumber ID and then copy the product# to the other 2 tables which I have set up with a longinteger ID and duplicate the autonumber ID .
    It's been working this way for 2 years with no issues but having some free time I'd like to re-design which will allow me to further enhance my Access knowledge at the same time.
    I'd consider myself a beginner at best now and would definitely like to build this with a better relational structure, right now I have relationships built using the product# but no foreign keys yet.
    I've read a lot of online help sites regarding primary key, foreign keys but without duplicating the product# in each table, I've not been able to get them to work?
    If anyone can lend advice or point me to a good resource, I'd be extremely grateful.

    Thanks in advance for any help.

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows 10 Office 365
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    For practical experience / learning of tables and relationships spend 45-60 minutes and work through one or two of these tutorials from RogersAccessLibrary.
    ZYX Laboratories ***recently added
    Class info system
    Catering Business
    Widgets

    Once you work through a couple of these, then you'll have the experience/confidence to restructure your own tables and relationships.

    Good luck.

  3. #3
    donlinux152 is offline Novice
    Windows 10 Access 2016
    Join Date
    May 2021
    Posts
    2
    Thank you very much!

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

Similar Threads

  1. Replies: 3
    Last Post: 04-15-2021, 02:04 PM
  2. Replies: 3
    Last Post: 06-21-2019, 03:46 PM
  3. Replies: 21
    Last Post: 08-01-2017, 10:38 PM
  4. Replies: 25
    Last Post: 01-27-2017, 11:55 AM
  5. Replies: 1
    Last Post: 04-30-2012, 08:42 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