?
Solved

Access relate question

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

765 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