Using MS Access/Overwhelmed with Tables

Advertisement


Question
I have a product that is sold nationwide. When the product needs repair, I contact a service provider who has been specially trained in repairing my product.  I have been working on this for a couple weeks, sadly, with many start overs. I ended up creating so many possible tables that I am overwhelmed with how to create the proper relationships.

Here is what I need to have:
Service Provider: (Confirmed or Potential)
Company name, address, contact name, phone, email

Then I need to have a Service Provider status checklist :
Trained (Yes or Planned {date planned})
Contract (Sent/Rec’d/Pending/N/A)
Initial Order Placed (Yes or No)

I would like to be able to define regions covered by Service Providers at a later date for quick reference when a customer calls in need of repair.

Any suggestions are welcome and would be treasured!! Thank you!!

Answer
Hi Mark,

I would do something like this:

tblServiceProvider
ServiceProviderID (Primary Key Autonumber)
ProviderName
StreetAddress
City
State
ZipCode
RegionID
ContactFirst
ContactLast
Phone
Fax
E-mail
ContractStatus (Confirmed/Potential/Inactive)

tblProviderHistory
ProviderHistoryID (PK Autonumber)
ServiceproviderID (Foreign Key)
HistoryTypeID
HistoryDate
Action

tluHistoryType
HistoryTypeID (PK Autonumber)
History Type (Applied, Contracted, Trained, Service Call, etc.)

tluRegions
RegionID (PK Autonumber)
Region

So the first table is where you enter demographic info about a provider and indicate their contractual status. You then use tblProviderHistory to track them through the Application, Approval and Training process. You can use the same table to track service calls referred or use a different table for that. The tlu tables are lookup tables so you can standardize input.  

Using MS Access

All Answers


Answers by Expert:


Ask Experts

Volunteer


Scottgem

Expertise

I can answer almost all types of questions relating to Microsoft Access usage and application design. My strengths are database and interface design.

Experience

I've been designing databases for over 25 years working with dBase, FoxPro, Approach and Access.

Organizations
Author of Microsoft Office Access 2007 VBA
Techncial Editor for Special Edition Using Microsoft Access 2007 and Access 2007 Forms, Reports & Queries From Que Publishing

Education/Credentials
Brooklyn College BA

©2016 About.com. All rights reserved.