473,511 Members | 14,825 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

access relations

229 New Member
Hi, I just wonder if anyone can advise about this.
I have an access database with two tables. One logs in a user and in the other the user can modify many fields. These are linked by userid with a relation one to one. The userid in the first table is autonumeric and in the next table is number. The second has a principle key called profileid too. I want to break up the second into smaller tables as its getting too big.

The question is do I link from the second table to the other tables I will create by userid and with a relation one to one, or by profile id as thats the principle key?
Any advise would be greatly appreciated.
Thanks
Richard
Apr 8 '09 #1
12 1653
ChipR
1,287 Recognized Expert Top Contributor
What about your second table is too big, and how do you plan to break it up?
Apr 8 '09 #2
NeoPa
32,557 Recognized Expert Moderator MVP
My advice would be not to break it up (from what you've said so far).

Maybe if you can explain your problem (that you think splitting the table will help with), we can look at more practical alternatives with you.

Please check out Normalisation and Table structures for a better understanding of the sort of trouble you could be letting yourself in for.
Apr 8 '09 #3
fran7
229 New Member
Thanks for both replies and also the normalisation link I will look into. Well I have read before that a table shouldnt have more than 30 fields and the one I thought I should split might get up to 80. As there will be users updating and deleting, although I dont envisage more than 400 users, I thought it might be too much to handle, although I might be completely wrong.
Thanks again fo any advice.
Richard
Apr 8 '09 #4
ChipR
1,287 Recognized Expert Top Contributor
Are these 80 fields somehow related? If you want to give some more information about what the table and fields are, we can probably help with the design. Only if you need it after reading about normalization, of course.
Apr 8 '09 #5
fran7
229 New Member
Thanks,
I read the normalisation guide.
All my fields relate to the individual user. Image for example they are 80 fields about the users personal preferences. I suppose in that case they should stay where they are, it just seems a large amount of fields. I was imagining that as the user might on any individual occation just want to update certain groups of their details that maybe they should be broken down. For example, they have their favourite links area in their control panel so I was thinking maybe the links could be in a sub table.
Thanks
Richard
Apr 8 '09 #6
NeoPa
32,557 Recognized Expert Moderator MVP
What about different forms to handle the various different sections of the record?

This could be extended to pages (tabs) on a main form, either with or without subforms in them.
Apr 9 '09 #7
fran7
229 New Member
Thanks for the reply. I do actually have different forms for the different sections. I thought i also should break up the database into smaller tables, but i suppose as I do have different forms its not necessary. Does that mean that a table with so many fields is ok if the form query and update are for only a few of the fields.
Thanks for all your help and getting me to understand things better
Richard
Apr 9 '09 #8
NeoPa
32,557 Recognized Expert Moderator MVP
You're welcome Richard :)

As for "Is it ok?", I would think it is. I don't have a great deal of experience with forms, but I see no problem with it.

I do actually have a few tables with a bunch more fields than that in them, and haven't noticed problems with them, although I only ever use a subset of them (The data originates from our main system so the tables reflect what is available there).
Apr 9 '09 #9
ChipR
1,287 Recognized Expert Top Contributor
It does make more sense to break your groups of fields into separate tables. Consider the fact that you can add more Favorite Links if you do that, while if you have it in the main table you are talking about allocating a static number of fields to hold them. Your table should not contain lists this way, they should be in another table.
Apr 9 '09 #10
NeoPa
32,557 Recognized Expert Moderator MVP
@fran7
If this means that you are considering maintaining a list within your record, then that is not a good idea (as Chip says). I was under the impression you were talking about One-to-One linked tables.

The separate table you need for this should be linked as One-to-Many.
Apr 9 '09 #11
fran7
229 New Member
Thanks guys, really helpful all. I think you are right, best to split for more flexability later (adding new fields etc) and one to many is what I needed to know.
Thanks
Richard
Apr 10 '09 #12
NeoPa
32,557 Recognized Expert Moderator MVP
I'm very pleased to hear it Richard.

And well spotted Chip. I'd missed that nuance.
Apr 12 '09 #13

Sign in to post your reply or Sign up for a free account.

Similar topics

3
2977
by: Bose | last post by:
Hi I have to make export of SQL Server Database to MS Access and I have done it with the tables but now I need to transfer(export) the relations, keys and indexes. Can any1 tell me how to read...
1
2743
by: Steve Claflin | last post by:
I have a database with a moderate number of records in several tables (the biggest table at the moment is about 800 records). In development it got moved between 2K and XP repeatedly. Several...
1
1363
by: ali hakimiyan | last post by:
I have mdb file( 2002-2003 format) which has 30 tables which include a lot of relations. When i do upsizing mdb file it just transfer some of relations. How can i transfer all of the relations to...
1
1791
by: Jef De Rycke | last post by:
Hi access group, I have written code to create relations between tables according to a corresponding relations information table. At first I thought my code was not working properly because...
1
318
by: nicolaas | last post by:
Hi everyone Is there someone out there who can tell me how to create relationships between tables using VB??? PS I am using MS ACCESS 2003 and I have read the help... THANK YOU
49
14282
by: Yannick Turgeon | last post by:
Hello, We are in the process of examining our current main application. We have to do some major changes and, in the process, are questionning/validating the use of MS Access as front-end. The...
0
1151
by: peter mpa | last post by:
Greetings. I am building a c# windows forms app to show tables from a ms access database. I am using OleDbConnection with Microsoft.Jet.OLEDB.4.0 , 5 datagrids and some data relations to show on...
4
6368
by: alexandre.brisebois | last post by:
Hi, I am using access 2003, I would like to know if there is an option to reorganize the tables in a maner that is readable, as we can do in sql sever 2000 or 2005. I have been given a database...
9
3993
by: Anil Gupte | last post by:
After reading a tutorial and fiddling, I finally got this to work. I can now put two tables created with a DataTable class into a DataRelation. Phew! And it works! Dim tblSliceInfo As New...
0
7252
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
7153
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
7371
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7517
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5077
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
4743
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
3218
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1583
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
791
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.