Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a cursor from 4 tables with SUM()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00337162
Message ID:
00337782
Vues:
11
Bruce,

>but.... once I add in the payments thing things get messed up.... if the customer has never made a payment on an invocie it will not display that invoice.. this would be pointless because if they pay in full we no longer care about it but we still wish to see it... an invocie that has no payment on it would be much better to see because then you can enter it into the system.

You need an OUTER JOIN between invoice and payment, so all invoices will show whether they have payments or not.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform