Results 1 to 8 of 8
  1. #1
    Bobbyds1 is offline Novice
    Windows 10 Access 2016
    Join Date
    May 2023
    Posts
    4

    Relationships

    I have 3 fields linked in relationships when i open the first table and click on the + next to a field it opens the second table and displays all the info for the particular field and if click on the + next to an item in table 2 table 3 opens but does not show the information in the table it only shows the headings not the info. anybody have an idea whats going on

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 10 Access 2016
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,614
    Quote Originally Posted by Bobbyds1 View Post
    I have 3 fields linked in relationships when i open the first table and click on the + next to a field it opens the second table and displays all the info for the particular field and if click on the + next to an item in table 2 table 3 opens but does not show the information in the table it only shows the headings not the info. anybody have an idea whats going on
    I assume that this thread is connected in some way to your last thread:https://www.accessforums.net/showthread.php?t=88070
    It is much easier to help you if you answer any questions we might ask. It may also help if you could tell us something about your tables, how they are related and what you are trying to do with the database.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,821
    Hi

    The little plus's alongside each record in the table are known as Subdatasheets and display any related data.

    Seeing as you should never allow users to access tables in your database, these little plus's should be removed from View.

    Relationships between related tables should be set in the relationship window.

    If you need to see related data then this should be achieved by using a Main Form with a Subform for related data.

  4. #4
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,556
    Please do not crosspost your issue, and that includes in the same forum.
    Stick to the one thread and then anyone can contribute to that sole thread. Duplicating post just ensures same advice is given multiple times, but in different threads.
    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

  5. #5
    Bobbyds1 is offline Novice
    Windows 10 Access 2016
    Join Date
    May 2023
    Posts
    4
    here is an example of what im trying to do Click image for larger version. 

Name:	access.jpg 
Views:	16 
Size:	164.3 KB 
ID:	50207you will see no info appears in oem or replacement but info is in the table here is a screen shot of relationshipsClick image for larger version. 

Name:	relationship.PNG 
Views:	14 
Size:	12.9 KB 
ID:	50208

  6. #6
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 10 Access 2016
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,614
    I believe your table design and relationships are wrong. We would need to know more about what the db is for to help with that.
    Tables are for storing data. Not for adding/editing data. That should be done in forms which come after proper tables and relationships have been established.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  7. #7
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,556
    Quote Originally Posted by Bobbyds1 View Post
    here is an example of what im trying to do Click image for larger version. 

Name:	access.jpg 
Views:	16 
Size:	164.3 KB 
ID:	50207you will see no info appears in oem or replacement but info is in the table here is a screen shot of relationshipsClick image for larger version. 

Name:	relationship.PNG 
Views:	14 
Size:	12.9 KB 
ID:	50208
    Do not have the same field name in every table (EquipmentID) Do not have spaces in field names or characters like #, that is just making more work for yourself. You can have captions with spaces so the data looks better.
    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

  8. #8
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    Agree with Bob. Consider copying, compacting, zipping and posting your zipped db. From the pic, it seems a parent record is about a filter and the sub record is about a roller, so I doubt you can relate any sub records which appear to belong to Belts 2.
    My advice would be to stop any development for what you have because there are design issues and you will always struggle if you stay the course. Spaces and special characters should be avoided in all object names, but that's not the reason for what your posted issue. You might want to review db normalization too.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. help with relationships
    By ntambomvu in forum Database Design
    Replies: 16
    Last Post: 11-25-2018, 09:22 AM
  2. Replies: 7
    Last Post: 08-05-2016, 11:53 AM
  3. Replies: 2
    Last Post: 07-27-2016, 10:25 AM
  4. Explicit Relationships and Implicit Relationships
    By Dazza666 in forum Database Design
    Replies: 2
    Last Post: 07-17-2013, 02:11 AM
  5. Help with Many to Many Relationships
    By alpinegroove in forum Database Design
    Replies: 5
    Last Post: 03-24-2011, 01:12 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