Solved

how can I generate an indented bom with microsoft access

Posted on 2014-09-20
6
1,309 Views
Last Modified: 2014-10-16
how can I generate an indented bom with microsoft access
0
Comment
Question by:vernalway
[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
  • 2
6 Comments
 
LVL 58

Assisted Solution

by:Jim Dettman (Microsoft MVP/ EE MVE)
Jim Dettman (Microsoft MVP/ EE MVE) earned 500 total points
ID: 40334645
Couple different methods:

1. SQL Approach
2. VBA based approach.

  I would start by taking a look at this:

Expanding a Hierarchical Data Structure
http://www.experts-exchange.com/Database/MS_Access/A_19-BOM-parts-list-expansion.html

 which will give you a good start.   let me know if you have any questions on the article.

Jim.
0
 
LVL 58

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 500 total points
ID: 40334647
And keep in mind that this is only one way to structure this, although most solutions fall along these lines; a part master, then a BOM table with each level of the BOM entered individually.

 For example, I have a VBA sample that doesn't use recursion.   Others do BOM editing using a tree view control so you can see the entire structure, etc.

Jim.
0
 

Author Comment

by:vernalway
ID: 40335182
Thanks a lot Jim!  That gets me going nicely with the example of a recursive routine.  I'll be implementing today.
0
 

Author Comment

by:vernalway
ID: 40335808
I've requested that this question be closed as follows:

Accepted answer: 0 points for vernalway's comment #a40335182

for the following reason:

Problem solved.
0
 
LVL 58
ID: 40335809
Welcome to EE.  Glad to hear that helped you along.

Given that, assuming you made a mistake in choosing your own comment as the solution for the question (everyone does this at first because it's so easy just to pick the last comment), so I'm going to object to the close.

That will allow things to be closed properly.

Jim.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
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…

623 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