Re: Auto-Poulate a Value in a Table
- From: Kerensky18 <Kerensky18@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 19 Feb 2008 05:54:01 -0800
I will try to clarify further... I want the policy number to transfer to the
new record instead of the records policy number being the default NULL.
For instance the policy number is 5, I click add additional insured button,
brings me to a blank form to update the table but with the policy field
already having the value of 5.
"Jeff Boyce" wrote:
It sounds like you are saying you want an empty (?dummy?) record created in.
table2 when you create a new record in table1. Why?
In Access, you typically would not need or want to create a new record in
any table until you had data to put in it.
Also, in Access, you would typically handle creating one/more related
records in a "child" table (your [AdditionalInsured]) by using a main form
(displays the [Policy] info)/sub-form (displays any/all [AdditionalInsured]
info) construction. This way, Access would handle adding the necessary
[PolicyID] to the child table, but only when you need to add a record.
Good luck!
--
Regards
Jeff Boyce
www.InformationFutures.net
Microsoft Office/Access MVP
http://mvp.support.microsoft.com/
Microsoft IT Academy Program Mentor
http://microsoftitacademy.com/
"Kerensky18" <Kerensky18@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1ED74D8B-4503-4BF5-9065-F177E76DEAB3@xxxxxxxxxxxxxxxx
Hello Again;Additional
I have another issue that I can't figure out. I'm designing a Insurance
database for class and am having issues with two tables.
The two tables are Policy and Additional Insured.
Policy is tied to Additional insured via policy ID.
What I would like to happen is the user clicks on a button in Policy(form)
called Add Additional Insured. I want this button to open up the
Insured(form) to a blank record and auto-populate the Policy ID #. Is it
possible to do this?
- Follow-Ups:
- Re: Auto-Poulate a Value in a Table
- From: Jeff Boyce
- Re: Auto-Poulate a Value in a Table
- References:
- Auto-Poulate a Value in a Table
- From: Kerensky18
- Re: Auto-Poulate a Value in a Table
- From: Jeff Boyce
- Auto-Poulate a Value in a Table
- Prev by Date: Re: Auto-Poulate a Value in a Table
- Next by Date: RE: Exporting to Excel
- Previous by thread: Re: Auto-Poulate a Value in a Table
- Next by thread: Re: Auto-Poulate a Value in a Table
- Index(es):