A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How do i add multiple records to table from 1 form entry?



 
 
Thread Tools Display Modes
  #1  
Old December 5th, 2005, 11:46 AM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default How do i add multiple records to table from 1 form entry?

I'm currently creating a database that assigns problems to people that could
solve them. I have a table called "employees" and one called "incident
catagories". Since one incident may be solved by multiple people and since
one person could solve multiple problems, the database is a many-to-many.
Employees table contains a a unique ID called Cont ID. The Incident
Catagories table contains a unique ID (for each incident) called IncCatID. To
link the two tables to make the many-to-many relationship another table was
made, where the data had to be inputted manually. This data assigned
incidents to people and contained both the IncCatID and ContID.

To make the database more versatile, a form was made that can add/edit
employees in the employees table. The problem now is that a form or sub form
is required to add or edit a new or current employees responsibility i.e.
match the employee to the incident.

I seriously require help in this matter urgently... I have tried almost
everything i can think of.
Ads
  #2  
Old December 5th, 2005, 01:16 PM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default How do i add multiple records to table from 1 form entry?

Bernard

We aren't there, so we don't know what all you've already tried. If you
don't give the newsgroup readers a little more information, we may suggest
the very things you've already tried!

If you want to assign one/more employees to a specific incident, then
consider using a main form/subform design. The main form would hold the
incident-related information, and the subform would hold the
employee-assignment information. You'd use your third (the
junction/relation/many-to-many resolver) table as the source for the
subform. You'd use a combo box for each form/record in the subform, and
bind the combo box to the employee ID.

Or maybe you've already tried that. If so, what happened, and why do you
consider this design unworkable?

--
More info, please ...

Jeff Boyce
Office/Access MVP

"Bernard" wrote in message
...
I'm currently creating a database that assigns problems to people that

could
solve them. I have a table called "employees" and one called "incident
catagories". Since one incident may be solved by multiple people and since
one person could solve multiple problems, the database is a many-to-many.
Employees table contains a a unique ID called Cont ID. The Incident
Catagories table contains a unique ID (for each incident) called IncCatID.

To
link the two tables to make the many-to-many relationship another table

was
made, where the data had to be inputted manually. This data assigned
incidents to people and contained both the IncCatID and ContID.

To make the database more versatile, a form was made that can add/edit
employees in the employees table. The problem now is that a form or sub

form
is required to add or edit a new or current employees responsibility i.e.
match the employee to the incident.

I seriously require help in this matter urgently... I have tried almost
everything i can think of.


  #3  
Old December 5th, 2005, 02:25 PM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default How do i add multiple records to table from 1 form entry?

It sounds as if you actually need three tables.
1 for the Incidents
1 for the Employees
1 that designates which employees worked the incident

tblIncident - tblAssignees
one to many

tblAssignees - tblEmployees
many to one

tblAssignees will basically be a table that grabs the ID of the incident
and the ID of the Employee and ties it all together.


Bernard wrote:
I'm currently creating a database that assigns problems to people that could
solve them. I have a table called "employees" and one called "incident
catagories". Since one incident may be solved by multiple people and since
one person could solve multiple problems, the database is a many-to-many.
Employees table contains a a unique ID called Cont ID. The Incident
Catagories table contains a unique ID (for each incident) called IncCatID. To
link the two tables to make the many-to-many relationship another table was
made, where the data had to be inputted manually. This data assigned
incidents to people and contained both the IncCatID and ContID.

To make the database more versatile, a form was made that can add/edit
employees in the employees table. The problem now is that a form or sub form
is required to add or edit a new or current employees responsibility i.e.
match the employee to the incident.

I seriously require help in this matter urgently... I have tried almost
everything i can think of.

  #4  
Old December 14th, 2005, 01:07 PM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default How do i add multiple records to table from 1 form entry?

hey,hey

sorry for the late reply.. Was on site. Anywya tried a lot of things
including what has been suggested.. I think the best method for me now is to
try and add multiple new records, assigning default values for each of the
incidents in the incidents table. I now need to know how i can automatically
add new records.

What i need access to do:

if i add in an employee in the form it must automatically add multiple
records in my linking table...

Anyw help in this will be greatly appreciated. \

Kind regards and wishing you all a merry x-mass

Bernard

"David C. Holley" wrote:

It sounds as if you actually need three tables.
1 for the Incidents
1 for the Employees
1 that designates which employees worked the incident

tblIncident - tblAssignees
one to many

tblAssignees - tblEmployees
many to one

tblAssignees will basically be a table that grabs the ID of the incident
and the ID of the Employee and ties it all together.


Bernard wrote:
I'm currently creating a database that assigns problems to people that could
solve them. I have a table called "employees" and one called "incident
catagories". Since one incident may be solved by multiple people and since
one person could solve multiple problems, the database is a many-to-many.
Employees table contains a a unique ID called Cont ID. The Incident
Catagories table contains a unique ID (for each incident) called IncCatID. To
link the two tables to make the many-to-many relationship another table was
made, where the data had to be inputted manually. This data assigned
incidents to people and contained both the IncCatID and ContID.

To make the database more versatile, a form was made that can add/edit
employees in the employees table. The problem now is that a form or sub form
is required to add or edit a new or current employees responsibility i.e.
match the employee to the incident.

I seriously require help in this matter urgently... I have tried almost
everything i can think of.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Options Group Patty Stoddard Using Forms 19 August 4th, 2005 02:30 PM
Can I link 1 form to several tables? Mico Using Forms 7 July 6th, 2005 07:36 PM
Need Help In Printing Current Record in Specific Report [email protected] Setting Up & Running Reports 1 May 16th, 2005 09:06 PM
Access combo box-show name, not ID, in table? write on New Users 30 April 30th, 2005 09:11 PM
dlookup miaplacidus Using Forms 9 August 5th, 2004 09:16 PM


All times are GMT +1. The time now is 07:45 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright 2004-2020 OfficeFrustration.
The comments are property of their posters.