Solved

how can I generate an indented bom with microsoft access

Posted on 2014-09-20
6
1,044 Views
Last Modified: 2014-10-16
how can I generate an indented bom with microsoft access
0
Comment
Question by:vernalway
  • 3
  • 2
6 Comments
 
LVL 57

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 57

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 57
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…

774 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