Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get debtors in a file ?
Message
De
03/09/2000 12:55:26
 
 
À
03/09/2000 11:21:15
Marcelo Codino
Mystic & Faith - Sistemas -
Buenos Aires, Argentine
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00412176
Message ID:
00412181
Vues:
15
Marcelo

assuming you have a client table and a payment table

SELECT Client.Cl_ref FROM client ;
WHERE Client.Cl_ref NOT IN (SELECT cl_ref FROM payment)

That would give you clients who had never ever paid so you need to add some dates to the selection from the payment table to restrict it to your desired period .



Nick Mason
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform