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 » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Enter new record w/ multiple corresponding values from other table



 
 
Thread Tools Display Modes
  #1  
Old August 25th, 2008, 08:18 PM posted to microsoft.public.access.tablesdbdesign
jmjlmad
external usenet poster
 
Posts: 1
Default Enter new record w/ multiple corresponding values from other table

I have 2 tables; 1 for acct mgr names/addresses from my company and 1 to
enter all of our customers.

My problem is that I want to create a form where I can enter an acct mgr
name/address from my company and then select (maybe from a subform) multiple
customers that this acct mgr is assigned to, so that it maybe (?) duplicates
the acct mgr information and creates a new record in the table everytime
another customer name is selected.

Is this possible?
  #2  
Old August 25th, 2008, 08:42 PM posted to microsoft.public.access.tablesdbdesign
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default Enter new record w/ multiple corresponding values from other table

Use two tables - Company & Customers - CompanyID, Autonumber as primary key &
CompanyID, Number - Long Integer as foreign key. Set a one-to-many
relationship with referential integerity and cascade update.
Then use a form/subform for manager/customers with Master/Child links set to
the CompanyID.
--
KARL DEWEY
Build a little - Test a little


"jmjlmad" wrote:

I have 2 tables; 1 for acct mgr names/addresses from my company and 1 to
enter all of our customers.

My problem is that I want to create a form where I can enter an acct mgr
name/address from my company and then select (maybe from a subform) multiple
customers that this acct mgr is assigned to, so that it maybe (?) duplicates
the acct mgr information and creates a new record in the table everytime
another customer name is selected.

Is this possible?

 




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


All times are GMT +1. The time now is 11:48 PM.


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