Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multi-level query
Message
From
19/06/2000 15:14:55
Mark Ganchrow
Dataware Technology Group, Ltd.
Rochester, New York, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Multi-level query
Miscellaneous
Thread ID:
00381925
Message ID:
00381925
Views:
48
A client wants to generate a summary report containing one line per Job.

Here's the file setup (using SBT-type files, but that's not important now):

PAPROJ - one entry per Job; contains Job Description info.
PAMAST - one entry per Job/Phase/Category; contains budget info for each
Job/Phase/Category.
PATRAN - (potentially) multiple entries per Job/Phase/Category; contains
transaction (actual cost) info.


The report output would be:
Job #, Description, Budget Total (from PAMAST, with multiple records per Job), and Actual Tran Total (from PATRAN, with multiple records per PAMAST record).

Optimally, someone could suggest a way for me to do this with FoxFire, but if the answer comes in the form of a query, I'd be just as appreciative.

TIA,
Mark
Next
Reply
Map
View

Click here to load this message in the networking platform