Solved

Access relate question

Posted on 2013-11-05
4
452 Views
Last Modified: 2013-12-05
Hello All,

This is a follow up from this previous question:
http://www.experts-exchange.com/Microsoft/Development/MS_Access/Q_28225339.html

I further found that…..
Each item can belong to several distribution pipelines (item 11234 can be sold to grocery, government)
Each distribution pipeline can have several items (in grocery pipeline, there are  10000 items sold)


Each distribution pipeline can have several tiers (grocery pipeline has 4 tiered cost – tier1,tier2,tier3,tier4 while government pipeline only has 2 tiered cost ( tier1,tier2)


Each tier can be contained in several distribution pipelines (grocery pipeline and government, both have tier1 bracket for items)

Please check the excel Structure for better idea……
Example data in current excel sheet is:

      grocery      government      airports
PRODuct_CODE      Tier1      Tier2      Tier3      Tier1      Tier2      Tier3      Tier4      Tier1      Tier2      Tier3      Tier4      Tier5      Tier6
p1      4                    4      5             6      1      1                           4


Sp please check the attached access file and let me know if my relationship making is correct?

Thank You
Rayne
Database2.zip
currentDataInExcel.xlsx
0
Comment
Question by:Rayne
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 

Author Comment

by:Rayne
ID: 39626595
All Experts are welcome :)
0
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
ID: 39627014
So you have Items, Pipeline and Tier. Please comment on the statements below:

An Item can belong to one or more Pipelines.

An Item IN A SINGLE PIPELINE can belong to one or more Tiers.

An Item cannot belong to a Pipeline ONLY - it must belong to a Tier in that Pipeline (?)

A Tier belongs to a Pipeline (?)

====================

Assuming the above are correct, I would consider something like this:

tTier
--------
ID
TierName
etc

tPipeline
-------------
ID
PipelineName
etc

tItem
---------
ID
ItemName

Now the Join Table:

Since a Pipeline appears to the be the "top level" entity, you'd first need to join Pipeline and Tier:

tPipeline_Tier
----------------
ID
PipelineID
TierID

You'd then associate an Item with that Pipeline_Tier record, and you'd then also include the specifics of that item:

tItem_PipelineTier
-----------------
ID
ItemID
Pipeline_TierID
TierPrice
etc
0
 

Author Comment

by:Rayne
ID: 39627794
So you have Items, Pipeline and Tier. Please comment on the statements below:

An Item can belong to one or more Pipelines. - YES

An Item IN A SINGLE PIPELINE can belong to one or more Tiers. - YES

An Item cannot belong to a Pipeline ONLY - it must belong to a Tier in that Pipeline (?)- YES

A Tier belongs to a Pipeline (?)-YES

This is awesome help, grand awakening in my thinking idea….. thank you LSMConsulting. I will follow up if further questions…
Thank you a million :)
0
 

Author Comment

by:Rayne
ID: 39699343
Hello LCMConsulting,

If you are interested, here is a follow up
http://www.experts-exchange.com/Microsoft/Development/MS_Access/Q_28311549.html
0

Featured Post

Office 365 Training for Admins

Learn how to provision tenants, synchronize on-premise Active Directory, and implement Single Sign-On with these master level course.  Only from Platform Scholar

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question