If you are using odbc/SQL, ALWAYS check MS's TechNet for free code 1st:
Here is a full blown (free) SQLServer db schema scenario and SQL code for multilevel explosions/viewing:
http://technet.microsoft.com/en-us/library/ms124499(SQL.100).aspx
Try adapting it to vantage tables. I had a one time need and adapted it recently to our legacy db & it worked fine with excel & msquery.
Why write what you can copy for free? :)
Rob Brown
Here is a full blown (free) SQLServer db schema scenario and SQL code for multilevel explosions/viewing:
http://technet.microsoft.com/en-us/library/ms124499(SQL.100).aspx
Try adapting it to vantage tables. I had a one time need and adapted it recently to our legacy db & it worked fine with excel & msquery.
Why write what you can copy for free? :)
Rob Brown
--- On Thu, 5/22/08, Calvin Krusen <ckrusen@...> wrote:
From: Calvin Krusen <ckrusen@...>
Subject: [Vantage] Re: Excel BOM Vantage 8.03.403C
To: vantage@yahoogroups.com
Date: Thursday, May 22, 2008, 12:29 PM
I see its been a while since this thread had any activity, but had
some related comments (questions really).
Can sub-reports in Crystal be called recursively? How about
Progress .p code?
For those unaware of the term, recursive functions are functions that
use the function within itself. They obviously always have an escape
mechanism.
For example, a multi-level BOM listing function would list the first
component, then call the multi-level listing function on the
component. If no subcomponents exist, then the function exits and
pops back up a level, and then goes on to the next component at that
level. You could put a maximim number of levels to explode, mostly to
limit consuming all the system memory if a circular reference existed.
Or has an easier exploded BOM report been found?
Calvin
--- In vantage@yahoogroups .com, "pack263cubscouts" <jhartman@.. .>
wrote:
>
> New to Vantage and went live 1-2-2008. Need to export multi-level BOM
> to Excel, mostly interested in list of purchased parts (lowest
levels)
> along with their extended quantities. BOM's are a maximum of 7 levels
> deep. I think this can be accomplished with do loop and array
> functions in Crystal but I am not familiar with the code. Any help is
> appreciated.
>
> Jim Hartman
> Bil-Jax, Inc.
>