PC Review


Reply
Thread Tools Rate Thread

Access 2000 Data entry

 
 
=?Utf-8?B?SW50ZXJzcGlybyBNYXJr?=
Guest
Posts: n/a
 
      22nd Mar 2007
I have a database with 4 tables. I want to enter the value for my primary key
field in a form and have it entered into all 4 tables. The relationships are
set up and the fields all have the same name. Is there a way to do this. Even
better, can I use the autonumber fieldtype in filling these fields with the
same number?
 
Reply With Quote
 
 
 
 
storrboy
Guest
Posts: n/a
 
      22nd Mar 2007

No. There is no guarantee that the number will be the same. When the
tables are related, the idea is that one of them is a master table and
the other children. A record must first be created for the master
table, then info can be added to the others. The method of input will
determine when the key field is applied in each. If all four tables
are populated at the same time, then the key field has to be applied
at the same time.

 
Reply With Quote
 
John W. Vinson
Guest
Posts: n/a
 
      22nd Mar 2007
On Thu, 22 Mar 2007 14:30:13 -0700, Interspiro Mark <Interspiro
(E-Mail Removed)> wrote:

>I have a database with 4 tables. I want to enter the value for my primary key
>field in a form and have it entered into all 4 tables.


Ummmmm...

No. You almost certainly do NOT. Creating empty "placeholder" records is
always a bad idea - they tend to never get filled, or get filled incorrectly.

>The relationships are
>set up and the fields all have the same name.


If each table has the same set of fields, your table design is very unlikely
to be correct.

>Is there a way to do this. Even
>better, can I use the autonumber fieldtype in filling these fields with the
>same number?


No. Autonumbers are meaningless, arbitrary, and uncontrollable.

What real-life Entities do these four tables represent? Why four tables not
one? What are the fields? Are you perhaps "committing spreadsheet" and using
four 255-field tables in order to accommodate 1000-odd fields? If so,
Normalize! "Fields are expensive, records are cheap."

John W. Vinson [MVP]
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access 2000 Data Entry Form goes invisible jhutchings@eadmotors.com Microsoft Access 6 16th Feb 2006 04:56 PM
Access 2000 Data Entry Form goes invisible jhutchings@eadmotors.com Microsoft Access Forms 2 15th Feb 2006 07:35 PM
Access 2000 bloating on data entry =?Utf-8?B?TmVlZEhlbHA=?= Microsoft Access Database Table Design 1 31st Oct 2005 06:57 AM
Access 2000 relationships and data entry/key fields =?Utf-8?B?SXJlbmFZ?= Microsoft Access Forms 2 9th Mar 2005 09:14 PM
Problem with Forms, data entry and search on Access 2000 =?Utf-8?B?RWxpYXMgQWxsaQ==?= Microsoft Access 0 10th Dec 2003 12:26 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:12 PM.