Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / April 2008

Tip: Looking for answers? Try searching our database.

what is the best way to split info into tables

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
stilltrying - 22 Apr 2008 17:35 GMT
I have nearly 6,000 records with the following fields,
first name, last name, company, address, city, state, zip, country, email,
source, date entered, last edited, contact type, notes

Trouble is, company names can be the same but it multiple locations, names
can appear more than once too.
KARL DEWEY - 22 Apr 2008 20:49 GMT
I do not see any reason to 'split info into table.'   Just extract it as
needed using a query.
Even with multiple locations and names you can use a Totals query to group
the data.
Signature

KARL DEWEY
Build a little - Test a little

> I have nearly 6,000 records with the following fields,
> first name, last name, company, address, city, state, zip, country, email,
> source, date entered, last edited, contact type, notes
>
> Trouble is, company names can be the same but it multiple locations, names
> can appear more than once too.
KARL DEWEY - 22 Apr 2008 21:02 GMT
Just read your other post.
You can build the following tables --
Individual --
IndivID - autonumber - primary key
Fname
Lname
address
city
state
zip
country
email

Company --
CompID - autonumber - primary key
Name - text

CompLoc --
CompLocID - autonumber - primary key
CompID - number - long integer - foreign key - related to Company table
address
city
state
zip
country
email
source
date entered
last edited
contact type
notes

Then relate these one-to-many relationships.  
Use a totals query to group the multitude of records with the company name
into one record to append to the company table. Do the same for the
individuals.
Signature

KARL DEWEY
Build a little - Test a little

> I do not see any reason to 'split info into table.'   Just extract it as
> needed using a query.
[quoted text clipped - 7 lines]
> > Trouble is, company names can be the same but it multiple locations, names
> > can appear more than once too.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.