Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Statement
Message
From
11/02/2007 09:53:00
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
01194505
Message ID:
01194543
Views:
6
Hi Borislav

>Can you post some example data and desired result from it?
  date      CustomerID  DocType   debcre  ammount 
01.01.2005       0001   Invoice      +     100.00
01.02.2005       0001   Payment      -      20.00
01.03.2005       0001   Invoice      +      50.00
01.01.2006       0001   Payment      -      30.00
01.02.2006       0001   Invoice      +     100.00

....             0002
....             0003..... 
.....all Customers Movements

Result:

   Customer 0001

   date                 deb      cre    
         Last Years     150       20
01.01.2006   Payment              30
01.02.2006   Invoice    100

   Customer 0002....
                
These result can by filtered between dates and customers
João Batista
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform