Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Access Forms Coding > add new record ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 41498 of 43412
Post > Topic >>

add new record in sub table based on change on form

by =?Utf-8?B?YWx3YXlzbGVhcm5pbmc=?= <alwayslearning@[EMAIL PROTECTED] Aug 5, 2008 at 08:17 AM

My database has a main table called "Projects" with a unique number 
"ProjectID" as primary key. Each project has an "Owner".  When the owner 
changes before the project is complete, I capture that in another table 
called OwnerHistory.  Each record of this table has, in addition to a 
"ProjectID", an owner name and a date of change, etc.  The second table is

necessary because of the one to many relation****p.  I have a data entry
form 
displaying the current owner from the main table, and also the historical 
owners in a subform.

Problem:  When the user changes the owner name on the main form using a 
combo box control, I want to trigger an event to add a new record to the 
OwnerHistory table so the user doesn;t have to enter the information
twice.  
I've tried going at this both ways - driving an event from the exit of the

control on the main form, and from doing a new entry in the subform. 
Results 
less than pleasing.  Help appreciated!
-- 
alwayslearning
 




 4 Posts in Topic:
add new record in sub table based on change on form
=?Utf-8?B?YWx3YXlzbGVhcm5  2008-08-05 08:17:01 
Re: add new record in sub table based on change on form
"ruralguy via Access  2008-08-05 23:13:26 
Re: add new record in sub table based on change on form
=?Utf-8?B?YWx3YXlzbGVhcm5  2008-08-05 18:33:01 
Re: add new record in sub table based on change on form
"ruralguy via Access  2008-08-06 15:29:16 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 20:03:33 CST 2008.