Re: Initial Check Box Setup

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Cheryl Fischer (cherylfischer_at_NOSPAMmsn.com)
Date: 05/03/04


Date: Mon, 3 May 2004 18:58:38 -0500

The beauty and utility of a normalized design is that you can have an
unlimited number of skills assigned to each employee; this, therefore,
renders having a fixed number of checkbox controls on a form (subject to
redesign whenever a new required skill is added) unnecessary.

Take a look at the Northwind.MDB database which ships as a sample with
Access. Open the Orders form. Notice that for each order there can be
multiple line items in the order. This is a parent-child relationship,
similar to the relationship that would exist between a single
employee/person in your database and that person's multiple skills. Notice
that you can add new line items to an order by using a combo box to enter
the product name, thereby making data entry more accurate and fast.

It is very easy to look at the rich design environment of an Access form and
begin picking out the controls one wants to use before creating
appropriately normalized tables and defining their relationships, putting
the cart before the horse (so to speak). Once you have designed each of
the tables your database needs and made sure that the data is normalized,
you'll find that the forms generally "design themselves", as Access forms
and controls are designed to work their best with normalized data.

--
Cheryl Fischer, MVP Microsoft Access
Law/Sys Associates, Houston, TX
"Mike C." <anonymous@discussions.microsoft.com> wrote in message
news:794401c43141$be498120$a401280a@phx.gbl...
> Thanks for the response.
>
> Unfortunetly, I am still having some problems.  I still am
> not sure on how to set up the tables and then set up the
> form with the actual check boxes on them.
>
> Any further assistance would be greatly appreicated.
>
> m.
> >-----Original Message-----
> >Mike,
> >
> >From the very brief description you provided, I would say
> you are starting
> >off with a very un-normalized design which will do
> nothing but cause you
> >grief down the road.   With what you have:  a single
> table containing an
> >employee name with columns representing some number of
> individual skills,
> >you can design forms, queries and reports.  But what
> happens when it's
> >determined that an additional skill must be added to
> those that are already
> >in the table?   Not only will your table have to be
> modified, but so will
> >the queries and forms that you use.   And, that is only
> the beginning...
> >
> >What you should be looking at is:
> >
> >Table:  tblEmployees
> >PK - Autonumber
> >LastName
> >FirstName
> ><other fields directly relating to employee.
> >
> >Table:  tblEmpSkills
> >PK - Autonumber
> >EmpID (Long Integer - links to PK in tblEmployees
> >Skill
> ><additional field for Skill Level ??>
> >
> >I strongly recommend that you take a look at the
> following two links which
> >discuss normalization - the second link shows an example
> which bears some
> >resemblance to your current table.
> >
> >http://databases.about.com/library/weekly/aa080501a.htm
> >and
> >http://databases.about.com/library/weekly/aa081901a.htm
> >
> >In addition, here is an Amazon link to one of the better
> books on database
> >design:  "Database Design for Mere Mortals", Hernandez
> >http://tinyurl.com/2uona
> >
> >
> >--
> >
> >Cheryl Fischer, MVP Microsoft Access
> >Law/Sys Associates, Houston, TX
> >
> >
> >"Mike C." <anonymous@discussions.microsoft.com> wrote in
> message
> >news:75d101c43108$97494f80$a401280a@phx.gbl...
> >> Hello.
> >>
> >> I am in the process of designing a database that, in
> >> addition to having the members name, address, etc., will
> >> have a group of check boxes.  The check boxes will allow
> >> the inputer to associate a number of different
> expertises
> >> to the member.  It will look as follows:
> >>
> >> Member Name    Expertise 1   Expertise 2  Expertise 3
> >> -----------------------------------------------------
> >> John Doe            x                          x
> >> Jane Doe                         x             x
> >> Scooby Doo          x            x             x
> >>
> >> How do I go about intially setting up the table(s) for a
> >> database design such as this one?
> >>
> >> Any help would be appreicated.
> >>
> >> Thanks in advance,
> >>
> >> m.
> >
> >
> >.
> >


Relevant Pages

  • can you help me find a Database App Developer MDX SSAS DotNet-Permanent-Miami, Fl?
    ... Minimum 2 years of experience in a multi-tier environment, including but not limited to integration of middleware, network management, information security, data architecture, database management. ... Outstanding analytical and quantitative skills. ... Proven ability, as evidenced by past work experience, to work well in both a team and as an individual ... Define, design, and implement, multi-tier object-oriented distributed software applications. ...
    (microsoft.public.sqlserver.datawarehouse)
  • Re: Database Design & Normalization Question
    ... Products, Other Titles, Title Types. ... However, oftentimes bad design will kill performance, no matter ... Normalization would dictate that these dates would depend on the KEY, ... > didn't have to change the database design to store new ...
    (microsoft.public.sqlserver.server)
  • Re: We are looking for the following 3 requirements
    ... This resource will analyze and design information systems. ... Required skill sets are denoted in the skills section. ... Database Administrator with distributed database applications on ... Patricipate in the planning and design of the database server ...
    (comp.sys.cbm)
  • Re: Why is OO popular?
    ... Page designs are the province of a UI designer, ... [I hope you're not going to argue that software developers should be ... >>different skills sets and processes than software development. ... To me that's like saying that OOPL compiler designers should ...
    (comp.object)
  • Re: Help writing SQL statement in PHP script
    ... IMPOSSIBLE to determine if the database is normalized or not from the ... normalized - AND STILL HAVE DUPLICATES IN THESE COLUMNS. ... It would be nice if you knew something about database normalization ... There is nothing flawed about a design which has three ...
    (comp.lang.php)