Solved

how can I generate an indented bom with microsoft access

Posted on 2014-09-20
6
1,096 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
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…

821 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