Printed [Date] |-----------------------------------------------------------------| |Account Number Account name | |-----------------------------------------------------------------| | initial balance | turnover | final balance | |-----------------------------------------------------------------| | debit| credit| debit| credit| debit| credit| |-----------------------------------------------------------------| |010-000 [name1] | |-----------------------------------------------------------------| | 0,00 | 100,00| 0,00| 20,10| 0,00| 120,10| |-----------------------------------------------------------------| |020-000 [name2] | |-----------------------------------------------------------------| | 123,00 | 100,00| 0,00| 0,00| 123,00| 100,00| |-----------------------------------------------------------------| |030-000 [name3] | |-----------------------------------------------------------------| | 0,01 | 1100,00| 11,00| 22,00| 11,01| 1122,10| |-----------------------------------------------------------------| |040-000 [name4] | |-----------------------------------------------------------------| | 1234,56 | 0,00| 1234,56| 0,00| 1234,56| 1234,56| |-----------------------------------------------------------------| |050-000 [name5] | |-----------------------------------------------------------------| | 0,00 | 0,00| 0,00| 0,01| 0,00| 0,01| |-----------------------------------------------------------------|
Pożądany efekt to:
AccNo | AccName | InitBalD | InitBalC | TurnD | TurnC | FinBalD | FinBalc |
010-000 | [name1] | 0 | 100 | 0 | 20,1 | 0 | 120,1 |
020-000 | [name2] | 123 | 100 | 0 | 0 | 123 | 100 |
030-000 | [name3] | 0,01 | 1100 | 11 | 22 | 11,01 | 1122,1 |
040-000 | [name4] | 1234,56 | 0 | 1234,56 | 0 | 1234,56 | 1234,56 |
050-000 | [name5] | 0 | 0 | 0 | 0,01 | 0 | 0,01 |
Filmik pokazuje, że MOŻNA TO ZROBIĆ SQL-em, czyściutkim, jak łza - czyli można to uruchomić zewsząd, programami darmowymi również, z Accessa też - ZEWSZĄD!
Popcorn w rączkę i startujemy:
http://afin.net/webcasts/Demo_SqlReadingNextTxtLine.swf
Brak komentarzy:
Prześlij komentarz