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

Home Posts Topics Members FAQ

Multiple table query not editing

1 New Member
Hi all, I have been stuck on this issue for weeks now and can not find a solution, so I hoping that someone can help me out.

I am setting up a training database. I have setup the structure and started working on the forms and encountered an issue that has me baffeled.

***Table Info****
Employees have skill sets and it is a M:M relationship
Employees have training and it is a M:M relationship
Skill Sets have trainings and it is a M:M relationship

I have a form and I assign each skill set to employee(s). Some employees have multiple skill sets. Then I go into the type of Training (SOP) and assign the skill sets that need to be trained.

**PROBLEM***
Then I go into the employee form and select a certain employee from the list and go into that specfic employee.

The subform has a list of training(s) that employee has to complete. IE
Quality Control ---> The employee gets trained on QC and then completed is selected from the drop down menu. However, the Access DB does not allow it. The query seems as if though it is locked.

I have two intersection tables SkillSet_Details and SOP_Details in that query. When I remove the SOP_Details then my subform is not working.

I can't determine if this is my structure or my query. Please any help will be appreciated. I have attached a screenshot of the relationship
Table Relationship


Access 2003
Feb 13 '07 #1
2 1950
NeoPa
32,556 Recognized Expert Moderator MVP
Firstly, do your queries run OK?
Can you post the SQL of the queries that don't work and any relevant error messages reported when running them natively in a query.
Feb 14 '07 #2
MMcCarthy
14,534 Recognized Expert Moderator MVP
Firstly you need to break down your many to many relationships by using join tables

Employees (Assuming primary key EmpID)
Training (Assuming primary key TrainingID)
SkillSets (Assuming primary key SkillSetID)

Remove any foreign keys to each other currently set up in these tables (After creating the following) and create join tables to hold them as follows:

EmpTraining (Primary Key {EmpID, TrainingID})
EmpSkills (Primary Key {EmpID, SkillSetID})
TrainingSkills (Primary Key {TrainingID, SkillSetID})

Now use these new tables in your queries to join the tables to each other.

All relationships should now be one to many.

Also have a look at this tutorial ...

Normalisation and Table structures

Mary
Feb 14 '07 #3

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

Similar topics

7
by: Drew | last post by:
I have a db table like the following, UID, int auto-increment RegNo Person Relation YearsKnown Now here is some sample data from this table,
1
by: poohnie08 | last post by:
i have a excel spreadsheet showing staff name, date,work hour, ot hour, slot1, slot2, slot3, slot4 and others). The "()" will keep repeating from day 1 until end of month. eg in excel spreadsheet,...
0
by: allyn44 | last post by:
HI--I have 2 tables Cut: cut ID, HistNumb, Block, date: Cut Id is the primary key, the other 3 fileds are indexed to be unique Slides: Cutid SlideID, and various other fields: there can be...
5
by: Sami | last post by:
I can create queries and reports based on info from one table. How do I create one using information from multiple tables. What do I need to make sure the information from one table will be...
11
by: dskillingstad | last post by:
I've been struggling with this problem for some time and have tried multiple solutions with no luck. Let me start with, I'm a novice at Access and I'm not looking for someones help to design my...
8
by: fonzie | last post by:
Is it possible to have a data entry form where the information is stored in several different tables (5 or 6)? I have an inventory database where Table1 stores all of the data common to all...
8
by: Blake | last post by:
Hello, I have a database at work that keeps an inventory of cameras by location. Every week I get a repair estimate sheet that lists cameras by serial number that need to be repaired. This list...
482
by: bonneylake | last post by:
Hey Everyone, Well i am not sure if this is more of a coldfusion problem or a javscript problem. So if i asked my question in the wrong section let me know an all move it to the correct place. ...
1
by: javediq143 | last post by:
Hi All, This is my first post in this forum. I'm developing a CMS for my latest website. This CMS is also in PhP & MySQL. I'm done with the ADD section where the Admin can INSERT new records in...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...
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: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.