View Single Post
  #9  
Old January 20th, 2010, 01:42 AM posted to microsoft.public.access.tablesdbdesign
Steve[_77_]
external usenet poster
 
Posts: 1,017
Default Prospective Client Tracking Database

Your tables are still not correct!!! You need to get the tables correct
first, then create the relationships before you even think about forms. If
you don't get the tables correct, you will find yourself undoing a lot of
work.

It looks like you need a TblCompanyType table. What is Receivership?

Your TblCompanyContactID should be TblCompanyContact with CompanyContactID
as primary key. BusinessPhone is wrong. What is Correspondence? You probably
need a TblCorrespondence. Please describe BidSchedule. You probably need
multiple tables for BidSchedule.

In TblProperty, ContactName et al fields are all wrong. Let's get TblCompany
and TblCompanyContact right first then work on TblProperty.

DO NOT BE MISLEAD!!! Gina Whipp's suggestion is 100% wrong!!!!

Steve

"TGC" wrote in message
...
That makes sense!

Here is what I have so far based on what you started...

TblCompany
CompanyID
CompanyName
Street
City
Zip
Phone
Fax
Website
Status
Type
Receivership

TblCompanyContactID
CompanyID
FirstName
LastName
Status
BusinessPhone (the phone from the company table would be populated in this
field as an option-only want the phone numbers listed within the
applicable
company though, not all numbers entered into database)
OfficePhone
CellPhone
Email
Fax
Correspondence
BidSchedule

TblProperty
PropertyID
Street
City
Zip
ContactName (the contact first and last name from the contact table would
be
populated in this field as an option-only want the contacts listed within
the
applicable company though, not all contacts entered into database)
Type
Receivership
CurrentPrice
CurrentVendor
PastTGCBid
Interior
BidSchedule
AreaSchedule
Notes

There are a few fields named the same in different tables...those are not
automatically the same unless noted in my notes above where I want the
options to populate for me to choose from.

From here, I obviously need to assign relationships and then I want to
create a form. I started one with the form wizard where the company table
is
the main form and the contact and property tables are subforms. It is
aesthetically what I am looking for, but a few of my relationships must
not
be right because the contacts and properties I enter are not being
associated
with just the one company I want them associated with. Within each
company,
there can be multiple contacts and multiple properties, but each contact
and
each property should only be assigned to one company. Hopefully that
makes
sense????

I also did not use your final "CompanyContactProperty" table when I first
started so that is probably where my problem is.

Thank you so much for your help!


"Steve" wrote:

Conside starting with these tables:

TblCompany
CompanyID
CompanyName
address fields
other company attribute fields

TblCompanyContact
CompanyContactID
CompanyID
FirstName
LastName
other contact fields

TblPropery
PropertyID
property description fields
property location fields

TblCompanyContactProperty
CompanyContactPropertyID
CompanyContactID
PropertyID


other attribute fields, other contact fields, property description
fields and property location fields need to be refined. Start with
postiing your other company attribute fields and we will help you with
the
normalized design of your tables.

Steve


"TGC" wrote in message
...
I am new to Access 2007 and recently reviewed all the online tutorials
on
the
Microsoft website and reviewed the provided templates (none of which
fit
my
needs). I understand the general concept of tables, forms, queries,
reports,
etc. and have created tables and attempted to create a form for my
data,
but
am a little unsure about my design and was hoping for some feedback
from
others that know Access better than I (not hard to accomplish that
distinction, btw!).

I want to create a prospective client tracking database for a
commercial
landscape company. I am looking to collect information on companies,
their
contact people, and the properties they manage. One company, for
example,
may have multiple contact people and those contact people may manage
multiple
properties. Within those 3 main areas (companies, contacts,
properties)
there are a bunch of fields relating to the area (phone, email,
address,
etc.).

I started by creating 3 tables (companies, contacts, properties) and
then
created relationships amongst the tables be relating the contacts'
first
and
last name with the companies table, relating the properties' street
address
and the companies' name with the contacts table, and relating the
contacts'
first and late name with the properties table.

I then created a form with the form wizard that had the companies table
as
the main form and the contacts and properties tables as the subforms.

Am I going about this the right way? All I want to be able to do is
track
the companies and be able to add multiple contacts and multiple
properties
within the companies.

Thank you in advance for your help!



.