Results 1 to 5 of 5
  1. #1
    donnie.atchison is offline Novice
    Windows 7 32bit Access 2016
    Join Date
    Jul 2018
    Posts
    12

    How to get a table field to pull information from another table field.


    I am stuck. I am building a database with a Master table and multiple other tables (Secondary Tables) that have the following fields, Shipment Number (Data type is Number), and the other fields have a data type of Yes/No. What I need to happen is in the Shipment Number Field I need the field to populate with the Shipment Number from the Master Table even if data is not entered into the secondary table. I would build the secondary fields Yes/No into the master table but I have about 1000 Yes no fields that I have to track in the database. Since tables are limited to 255 fields I cannot do this. What can I try.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,894
    A normalized structure would have instead of 1000 Yes/No fields, a related table with 3 fields - ShipmentNumber, item identifier, and the Y/N response.
    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.

  3. #3
    kd2017 is offline Well, I tried at least.
    Windows 10 Access 2016
    Join Date
    Jul 2017
    Posts
    1,142
    Can you explain in more detail what it is your database is tracking/what your trying to achieve? We'll need more specifics to be able to help.

  4. #4
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,973
    I would build the secondary fields Yes/No into the master table but I have about 1000 Yes no fields that I have to track in the database. Since tables are limited to 255 fields I cannot do this. What can I try.
    Sorry to say you need to redesign your database from scratch
    It sounds like you have a spreadsheet on steroids with your 1000 Yes/No fields - lots of fields & relatively few records
    That is not a database structure
    Databases have few fields & lots of records

    So your table might have these fields
    ShipmentID - autonumber PK field
    ShipmentNumber - number
    CheckValue - yes/no
    CheckType - text

    So each shipment number might have 1000 records each with one yes/no field & another description filed that I've called CheckType
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  5. #5
    donnie.atchison is offline Novice
    Windows 7 32bit Access 2016
    Join Date
    Jul 2018
    Posts
    12
    I rebuilt the data base and solved my problems thanks.

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

Similar Threads

  1. Replies: 6
    Last Post: 05-18-2018, 12:46 PM
  2. Replies: 3
    Last Post: 03-07-2014, 10:39 AM
  3. Replies: 2
    Last Post: 03-07-2013, 04:50 PM
  4. Replies: 6
    Last Post: 02-25-2013, 07:27 PM
  5. Replies: 4
    Last Post: 09-03-2009, 02:01 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