Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Access relate question

Posted on 2013-11-05
4
Medium Priority
?
467 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 85

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

636 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