Results 1 to 2 of 2
  1. #1
    cnwhelden is offline Novice
    Windows 10 Access 2016
    Join Date
    Dec 2017
    Posts
    1

    Using one table to update another constantly


    Hey all,
    Total access newb here whose been asked to solve a unique ( i think) problem at work.
    There is this database of about 500 tables. Each table is a system. Many systems contain duplicate parts so there is lots of redundancy.
    What we would like to do is be able to update all instances of a certain part from a master list. Each table of parts contains a field Part number that helps to distinguish these parts.
    Let's say that price of battery changes from $5 to $10.
    We would like to change that on one list and have the updates ring through all the lists.
    I know in My SQL the solution would be something like Update * From * where field like *'Battery'* But I'm not sure that this is the access way, or even the best approach. Sorry if this question is newbish, would be very grateful for any help anyway!
    Thanks,
    C.Whelden

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,815
    In a relational database, a primary key of the 'master' table would be saved as foreign key in each of the system tables. Then the price or other info about the part would be retrieved in query that joins system table to the 'master' table.

    500 hundred tables!!!!!!!! Why not 1 table with another field for system ID? Then a dependent table for system components?

    Manufacturing/Assembly type db is a common topic. Might search forum and review some discussions.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Query takes forever and constantly refreshes
    By crimedog in forum Queries
    Replies: 5
    Last Post: 02-09-2016, 11:27 AM
  2. Replies: 1
    Last Post: 06-27-2015, 11:04 PM
  3. Replies: 2
    Last Post: 07-03-2014, 08:45 AM
  4. constantly needs focus
    By Dazza666 in forum Programming
    Replies: 4
    Last Post: 08-06-2013, 07:53 PM
  5. Subforms constantly refresh
    By DarkWolff in forum Forms
    Replies: 3
    Last Post: 02-28-2012, 02:53 PM

Tags for this Thread

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