473,498 Members | 2,058 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

one to one relationships

Does Access store two tables which have a one-to-one relationship, as if
they were just one table? I ask because in the db I'm making, there are a
few instances in which a one-to-one relationship seems appropriate. But my
reasoning is that for the same entity, sometimes several fields are relevant
only for some records. So putting those fields into a separate table would
keep the main table from having a lot of empty fields for many records.

But if Access stores the records as if they were in one big table, there's
no point in my splitting the table into two, is there?

This is still the db for the recreational tree climbing business.

Here's an example: tblJobProposals. The fields in this table all apply to
one or two people wanting a climb. If someone wants to arrange a climb for a
group, six more fields apply. So I make tblGroupProposals, with the same
JobProposalID so it's linked to the other JobProposal fields. (Also, of
course, the JobProposalID is a FK in other tables, so I don't want two
different PKs.)

Does it save space and make sense to do it this way? TIA
Nov 12 '05 #1
1 8356
No, Access does not store one-to-one relationship tables as though they were
a single table. If there is actually a record in the related table for each
record in the main table, there will be a bit of additional overhead. If
there are many empty records in the related table, you may save a bit of
disk space (but, on the other hand, these days disk space is both cheap and
fast). My choice would be on the basis of "the way I think of this as
modeling the real world, does it make sense to keep them separate" rather
than saving a little disk space. I think your arrangement makes sense for
two separate tables.

Larry Linson
Microsoft Access MVP

"Catherine Jo Morgan" <cj******@hemc.net> wrote in message
news:B4********************@hemc.net...
Does Access store two tables which have a one-to-one relationship, as if
they were just one table? I ask because in the db I'm making, there are a
few instances in which a one-to-one relationship seems appropriate. But my
reasoning is that for the same entity, sometimes several fields are relevant only for some records. So putting those fields into a separate table would
keep the main table from having a lot of empty fields for many records.

But if Access stores the records as if they were in one big table, there's
no point in my splitting the table into two, is there?

This is still the db for the recreational tree climbing business.

Here's an example: tblJobProposals. The fields in this table all apply to
one or two people wanting a climb. If someone wants to arrange a climb for a group, six more fields apply. So I make tblGroupProposals, with the same
JobProposalID so it's linked to the other JobProposal fields. (Also, of
course, the JobProposalID is a FK in other tables, so I don't want two
different PKs.)

Does it save space and make sense to do it this way? TIA

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
2983
by: Ed | last post by:
I am running Access 2002 and just ran the built in Access wizard for splitting a database into a back end (with tables) and front end (with queries, forms, modules, etc.). After running the...
0
1481
by: Megan | last post by:
Hi Everybody- I know that this is a really, really long post, but I wanted to try to give you as much background as possible. So here's a quick overview of the issues I'm asking for help with:...
2
4113
by: Max | last post by:
Hi. I really hope someone can help me. Going slowly insane with this problem. I have a two Access 2000 databases. One is the backend containing tables and some admin queries. The other is the...
7
2111
by: davegb | last post by:
I'm totally new to relational database design. My boss has asked me to create a database of information on the employees in our group. Seemed to me like a simple application to learn the ropes. A...
10
6974
by: Dixie | last post by:
I need to delete some relationships in code. How do I know what the names of those relationships are?
45
3347
by: salad | last post by:
I'm curious about your opinion on setting relationships. When I designed my first app in Access I'd go to Tools/Relationships and set the relationships. Over time I'd go into the window and see...
4
2261
by: celinesuzzarini | last post by:
Hi all, I have split my database a while ago, and now, I want to add a table with relationships to other existing tables. I open the BE, create my table, and then go to the relationships...
13
2036
by: ARC | last post by:
Hello all, Prior to going live with my app, I have questions on relationships theory. My prior app was done in Access 97, and I did NOT use relationships at all. I have 65 tables in my...
2
1500
by: John Google | last post by:
Hi, Access 2002. I import tables from another database where I only copy the definition and not the data. I select the Import Relationships option on the import dialog. After I do the...
8
1672
by: Phil Stanton | last post by:
I have a FE, BE database on my home computer and a duplicate on the office computer. Both use Ak2 on Windows XP. The one at home appears normal. The BE consists of about 50 tables with numerous...
0
7121
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6993
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7197
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6881
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5456
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4899
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4584
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3088
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
650
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.