Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get debtors in a file ?
Message
From
03/09/2000 12:55:26
 
 
To
03/09/2000 11:21:15
Marcelo Codino
Mystic & Faith - Sistemas -
Buenos Aires, Argentina
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00412176
Message ID:
00412181
Views:
16
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
Previous
Reply
Map
View

Click here to load this message in the networking platform