Please help. I have array.

        Debit Site  Credit Site Line    Voucher

ArrData(0) 306 335 2 33500024
ArrData(1) 320 335 1 33500024
ArrData(2) 809 335 3 33500025
ArrData(3) 809 555 3 55500010
ArrData(4) 809 555 3 55500011
ArrData(5) 810 335 1 33500025
ArrData(6) 810 555 1 55500011
ArrData(7) 810 555 1 55500010
ArrData(8) 820 335 2 33500025
ArrData(9) 820 555 2 55500010
ArrData(10) 820 555 2 55500011

  1. Need to Do BY DEBIT SITE

    Debit site 306

    Credit site 335 Line 2 Voucher 33500024
    Total CS 335
    Total DS 306

Debit site 320
Credit site 335 Line 1 Voucher 33500024
Total CS 335
Total DS 320

Debit site 809
Credit site 335 Line 3 Voucher 33500025
Total CS 335
Credit site 555 Line 3 Voucher 55500010
Line 3 Voucher 55500011
Total CS 555
Total DS 809

Debit site 810
Credit site 335 Line 1 Voucher 33500025
Total CS 335
Credit site 555 Line 1 Voucher 55500011
Line 1 Voucher 55500010
Total CS 555
Total DS 810

  1. Need to do BY CREDIT SITE

Credit site 335
Debit site 306 Line 2 Voucher 33500024
Total DS 306
Debit site 320 Line 1 Voucher 33500024
Total DS 320
Debit site 809 Line 3 Voucher 33500025
Total DS 809
Debit site 810 Line 1 Voucher 33500025
Total DS 810
Debit site 820 Line 2 Voucher 33500025
Total DS 820
Total CS 335

Credit site 555
Debit site 809 Line 3 Voucher 55500010
Line 3 Voucher 55500011
Total DS 809
Debit site 810 Line 1 Voucher 55500011
Line 1 Voucher 55500010
Total DS 810
Total CS 555

thank you

Recommended Answers

All 3 Replies

Is there a question

question is need to build report by debit site and credit site by example

O.K. I start again. From your few lines of text nobody can help you. Have a look at the many other post to get a picture of someone needs to help you. Where do you store the data? How do you get it there? Hoe do you want to publish it-Crystal Reports, text file, vb6 reportbuider? How much code have got to show?
No one will code the application for you, but you will get help trying hard.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.