Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Gathering Multiple Level Remote Data
Message
From
26/04/2007 14:19:27
 
 
To
26/04/2007 13:19:41
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01220202
Message ID:
01220221
Views:
22
I did something like that for VFP 3 report. We were connected to a netfinity 5500 running db2.

My problem was something along the line of:
One bank has many branches
Each branch has many officers
Each officer has many customers
Each customer can have many accounts
Each account can have many transactions
Each transaction is a withdrawal or deposit
So I had to do a report of each bank's officers showing the true picture of a customer's transactions and a total of all the accounts sorted by date. And of course, there were over a hundred tables in the db.

It looks overwhelming at first but if you gather the info in a logical order, section by section, it can be done.

Sergey is a master SQL coder. I'm sure he'd contribute if you asked.



>I need some help with an SQL string(s) to produce an outline style report of an assembly broken down to the final detail state, an indented bill of materials.
>
>The source data is taken from AS400 files. The main file is a product structure file which has parent parts and child parts fields. It seems I will need some sort of loop that identifies each level of the break down.
>
>The more I try to figure this out the more confused I become.
>
>Please help.
I ain't skeert of nuttin eh?
Yikes! What was that?
Previous
Reply
Map
View

Click here to load this message in the networking platform