Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selecting Data from mutiple tables
Message
De
10/11/2000 12:46:43
John Tomblin
Service Station Systems, Inc.
San Jose, Californie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Selecting Data from mutiple tables
Divers
Thread ID:
00440294
Message ID:
00440294
Vues:
46
I need to get an invoice total. The invoice line items are in 3 files, each of which may have any number of records for a given invoice. The Tables are Labor, Parts, and Fees. The fields I need to total are Labor.LSum, Parts.PSum, Parts.PTax and Fees.FSum.

Is it possible to get a single sum with a SQL Select or even an accurate sum of each of the four fields in one record?

If there are 2 records in each table for a given invoice, everything I try returns 6 times one of the records for each field being summed.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform