473,772 Members | 2,420 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help with normalisation of table

Hello All,

This has been bugging me for too long. I have a database that records
medical interventions. I am familiar with the theory behind
normalisation but am unsure what to do with the following data.
Firstly, I have a main table which records the specifics of the
intervention (date, reporter, details, location etc). It has links and
the database is normalised ok as far as I can make out. However, I
have 6 check box fields in the intervention table to record what I call
specific risk management outcomes (e.g. Was this serious, did it save
on staff time, did it save money etc) and are grouped together on the
form similar in style to an option group but obviously not one. I want
users to be able to tick each field as the feel appropriate without
restrcitions. What I am not sure of is if these field should be taken
out and put into another table (e.g. tblRiskManageme nt) as they are
part of a similar group and link that table to my main intervention
table. I have tried a few ways of doing this and they don't seem
right. I am also not sure if they need to come out of the table at
all! Obviously, I am not that familiar with the theory behind
normalisation! I hope this makes sense and someone can offer up some
advice.

Thanks in advance,

John

Jan 3 '07 #1
3 1471
Macbane wrote:
Hello All,

This has been bugging me for too long. I have a database that records
medical interventions. I am familiar with the theory behind
normalisation but am unsure what to do with the following data.
Firstly, I have a main table which records the specifics of the
intervention (date, reporter, details, location etc). It has links and
the database is normalised ok as far as I can make out. However, I
have 6 check box fields in the intervention table to record what I call
specific risk management outcomes (e.g. Was this serious, did it save
on staff time, did it save money etc) and are grouped together on the
form similar in style to an option group but obviously not one. I want
users to be able to tick each field as the feel appropriate without
restrcitions. What I am not sure of is if these field should be taken
out and put into another table (e.g. tblRiskManageme nt) as they are
part of a similar group and link that table to my main intervention
table. I have tried a few ways of doing this and they don't seem
right. I am also not sure if they need to come out of the table at
all! Obviously, I am not that familiar with the theory behind
normalisation! I hope this makes sense and someone can offer up some
advice.

Thanks in advance,

John
First, this kind of care in setting up the schema is rare and you are
to be commended for it. Second, the kind of functionality you are
talking about on the form is more conventionally represented by
checkboxes rather than option buttons since option buttons suggest the
possiblility of an exclusive relationship between the buttons. I
suggest that the checkbox choices stay in the main table with caveats.
This is more of a one-to-one data issue than a one-to-many issue so an
error here isn't as bad as duplicating data because of a lack of
normalization. A monolithic table will keep the database simpler
longer if the schema is expected to remain fairly stable. One
situation for those fields to go in a separate table is the expectation
of significant schema expansion in the RiskManagement direction. As
long as the choices remain independent, even tripling the number of
choices shouldn't cause concern. You may need to go to a separate form
for recording RiskManagement choices in the future. That may be a big
warning that the schema is about to expand. Also, with a monolithic
table you can have a conversion plan in place to normalize the
RiskManagement fields instantly if it looks like it is going in that
direction. Normalizaton queries are much simpler with one-to-one data.

Finally, be sure to look carefully at what kind of queries you are
going to need to produce your reports. Write the queries you will need
for both schemata before you even have any data so that you are aware
of any trade-offs. Also consider what happens if you get a huge number
of records. A separate table may have some advantages or disadvantages
in terms of efficiency. If you are comfortable writing queries with
one or more joins and don't have a huge number of records you can put
the fields in a separate one-to-one table right away. I have only used
one-to-one tables a couple of times, since the situations where they
seem appropriate, such as in your case, are relatively rare so others
may be able offer better advice regarding their use. As soon as you
create the one-to-one table expect someone to ask for a report with the
percentage of the records marked 'serious' at each location during the
past year. In other words, besides trying to get the best schema for
your expected needs, attempt to have as much flexibility as possible
for unexpected needs. I'm still leaning slightly toward the monolithic
table in your case. BTW, I hope you didn't use 'date' as an actual
field name.

I hope this helps,

James A. Fortune
CD********@Fort uneJames.com

Jan 3 '07 #2
<CD********@For tuneJames.comwr ote
Second, the kind of functionality you are talking about
on the form is more conventionally represented by
checkboxes rather than option buttons since option
buttons suggest the possiblility of an exclusive
relationship between the buttons.
There's no distinction in Access between Option Buttons and Check Boxes.
Either can be used independently or as the clickable choices in an Option
Group. Whether one or the other is more intuitively independent or related
is a matter of personal perception.

Neither, by the way, can be resized larger. If you want a larger-size On-Off
choice, you can do it with a properly-sized Text Box with the font size that
you like, solid border of width to suit, with validation rule
In("X","",Null ) limiting the values, and VBA in the Click event to set the
value depending on the current contents.

Larry Linson
Microsoft Access MVP
Jan 3 '07 #3
Larry Linson wrote:
<CD********@For tuneJames.comwr ote
Second, the kind of functionality you are talking about
on the form is more conventionally represented by
checkboxes rather than option buttons since option
buttons suggest the possiblility of an exclusive
relationship between the buttons.

There's no distinction in Access between Option Buttons and Check Boxes.
Either can be used independently or as the clickable choices in an Option
Group. Whether one or the other is more intuitively independent or related
is a matter of personal perception.

Neither, by the way, can be resized larger. If you want a larger-size On-Off
choice, you can do it with a properly-sized Text Box with the font size that
you like, solid border of width to suit, with validation rule
In("X","",Null ) limiting the values, and VBA in the Click event to set the
value depending on the current contents.

Larry Linson
Microsoft Access MVP
Agreed. Let me restate. It is my personal perception that check boxes
are more intuitively independent than option buttons. It is also my
perception that most, but not all, windows applications adhere to this
idea. All people -- myself included -- are free to use option buttons
(or even toggle buttons) for that purpose anyway based on possibly
differing perceptions or philosophies or goals.

James A. Fortune
CD********@Fort uneJames.com

Jan 3 '07 #4

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

Similar topics

1
2435
by: MB | last post by:
I need to develop a Cold Fusion application using SQL tables, I am not sure how to setup my tables or that this is the optimal way of setting my tables for the application that I am trying top automate. I've first created 2 tables as follows: SOSC ----- 1 Record ID (Primary key) 2 CMP_TIME_ID (Foreign key)
2
3543
by: Ian DeRock | last post by:
I'm fairly new to XML. As I can see it, XML is a way to organize data like in a table in a RDB, or the RDB itself. I have used XML in application data, but did not design the actual XML. I have a background in both hardware and software. I want to create an application that will regenerate a resume from the XML Resume that I have. I would like some people to look over my XML Resume data and give me suggestions on the XML. This...
2
1923
by: David Allison | last post by:
Should Lookup fields be replaced by table normalisation? Then the Tables brought together in a Query for a Form to be based on? -- Dave Allison ~ Scotland
5
1630
by: trode | last post by:
Hello all. For the first time, our company might make use of the MS Access portion of the office package. Problem is, I don't know it well enough to whip out a desired program. What we want to do is have two Tables. One table called PRODUCTS, containing "partnumbers" with "descriptions". The other table called "AUDITED PRODUCTS" that starts blank with the following fields: "Tag_number", "Quantity","partnumber", and "description".
2
3826
by: James W. | last post by:
Hi everyone, I would like to ask you lot if you know of a great place on the internet for a fool proof idiots guide to Normalisation 1st, 2nd, 3rd. I looked at webopedia but that is just as confusing. I am looking for a complete idiots guide that really is so simple all it needs is pictures to turn it into a kiddies book
3
1552
by: Kenjamin.Lafayette | last post by:
Here is the scenario. I have a list of people, what building they work in, and on what days. Is there a way in access to pull up this database and have it make a list based only on the days, like select monday and everyone who works on monday will be listed along with the building they work at on a sheet to print out? im a newbie to access but know a veteran amount about other office products. any help at all would be greatly...
4
1500
by: 663scott | last post by:
Hi, Please Please Pleas could someone just help me and tell me what I should do. No one seems to actually help me don't post any normalization links. I'll give you an example of the problem: I have a very small online business which has an offer available to customers. The offer is only available to one member of a household and only once from the same IP address. I then want to search for a specific user name in the IP section to see if...
1
2118
by: shauna | last post by:
hi, i am an As level student studying Applied ICT, im having problems with normalisation. our problem is to computerise a made up business.mine for example is a beauty salon. below are my attributes and they need to be normalised to 3rd normal form! i have also shown what i have come up with but i am unsure as to whether it is correct! please help as im finding this very difficult. Normalisation The goal of normalisation is to create a...
2
1839
mikek12004
by: mikek12004 | last post by:
I have a table for categories (id->the primary key, and name) and I want to add another column parent (one category might be inside another) with the id's range of values so in fact parent will be a foreign key of the id right?Can I declare a foreign key of a primary key in the same table as that primary key or it is better make a seperate table for the relationships between categories? (lately been reading about db normalisation and wandering...
0
9619
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9911
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7460
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6713
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2850
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.