473,473 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

MS Access - nested/related tables in Forms

2 New Member
I have the following structure:
Expand|Select|Wrap|Line Numbers
  1. Projects (table)
  2.   projectID
  3.   title
  4.   other fields
  5.  
  6.   - Sections (table) relates to a project in Projects
  7.      sectionID
  8.      projectID (used to relate to Projects)
  9.      section title
  10.      other fields
  11.  
  12.      - Rules (table) relates to a section in Sections
  13.         ruleID
  14.         sectionID (used to relate to Sections)
  15.         some fields
  16.  
  17.         - notes (table) relates to a specific rule in Rules
  18.            noteID
  19.            ruleID (used to relate to Rules)
  20.            note field
  21.  
  22.        - ToDo (table) also relates to SAME rule as notes above in Rules
  23.            todoID
  24.            ruleID (used to relate to Rules)
e.g. A rule has an ID of 99. All notes in notes table with ruleID=99 and all ToDo's in todo table with ruleID=99.

What I want to do is have a form where I can scroll through Projects and display all the sections relating to that project. And scrolling through Sections display all the rules associated with that sections. Notes and ToDo's relating to each rule should then display.

Further info: in Relationships - all the tables are related correctly to each other. My problem is how to build a form so that it
a) displays all the various tables and
b) changing a parent changes the children. E.g. going to the next rule, displays the Notes and ToDo's that relate to that rule.
Mar 26 '14 #1
2 1094
Seth Schrock
2,965 Recognized Expert Specialist
Okay. First you would need to create your forms for the Notes and ToDo tables (I would recommend datasheet view). You would then create a form (I would recommend regular form view) for the Rules table and then add your Notes and ToDo forms as subforms. Then create a form for your Sections table and then add your Rules form as a subform. Then the same thing for Projects. This is probably the simplest method, but maybe not the most cosmetically appealing. There are sorts of things that can be done to improve it, but they all (at least the ones that I know) are variations of this model.
Mar 27 '14 #2
markhutch
2 New Member
Thanks Seth. I'll try those and report back later.
Mar 27 '14 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Jason | last post by:
I am trying to filter records in a primary form based on records in related tables. The data in the related tables is being displayed in the primary form through subforms. To be more specific, I...
6
by: PMBragg | last post by:
Thank you in advance for any and all assistance. Is there a way to hide the Main Access window with tables, queries, forms etc programmatically? Michael
3
by: Leinad Kong | last post by:
I'm using Access 2002, as front-end and back-end as well: 1) I faced database corrupted problems, when more than 1 user edit concurrently. I'm using All-records Locking, and open-exclusively as...
1
by: Christa Waggett | last post by:
Hi, I'm not a programmer but would appreciate some help with the following. I've been looking at various sites but cannot find the information I require. I have a table of strata plans and if we...
4
by: Patrick | last post by:
I have a Windows Forms DataGrid bound to a Table within a DataSet. The Table is related to others within the DataSet. The DataGrid allows the user to surf through related tables. I don't want...
0
by: Nedim | last post by:
i created a typed dataset with related tables, but i dont know how to display related values, for example, i have a tables Person and City, which are related like Person.CityId = City.Id (they are...
4
by: HLCruz via AccessMonster.com | last post by:
I am working with a database that has client information separated in to 4 related tables - tFolder, tAddress, tEmail, tPhone number. In addition there are related tables tGifts and tCalls. The...
5
by: upwardgazing | last post by:
I'm using Access 2003 (Access 2000 file format) and I have two tables related one-to-many called tblTempEncounter and tblTempEncounterDetails. I need to move a record from the first table with it's...
9
by: TrueMan2010 | last post by:
Hi All, I need to insert new records in existing Tables of Access. The two tables are related by Primary and Foreign key relation. The new data to be imported is in Excel sheet which I have...
4
stonward
by: stonward | last post by:
Hello again everyone, I have a quotations form (main and subform) based upon two related tables. I want to be able to convert the quote to a sale and thus transfer the records to my Order and...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.