I have a text file which is used to send invoices. Example below, the :IIII4444: comes before each new invoice, the 0000 line is the invoice number line, the 0001 line for some reason is always blank but the 0001 still needs to be there, and the 0002 line are the itemized items that make up the invoice. In VB6 I would like to, in a windows form, display the invoices one by one with a next and previous button. Any help with this would be appreciated.
:IIII4444:
0000 InvoiceNumber
0001
000200001 46.00 HR215.00
000200001 53.00 HR215.00
000200001 53.00 HR215.00
:IIII4444:
0000 InvoiceNumber
0001
000200001 40.00 HR48.96
000200001 40.00 HR48.96
:IIII4444:
0000 InvoiceNumber
0001
000200001 18.00 HR257.50
000200001 16.00 HR257.50
000200002 4.50 HR284.00
000200002 2.00 HR284.00
000200003 0.50 HR257.50
000200003 4.00 HR257.50
000200004 1.00 HR309.00
000200007 1.50 HR284.00
000200007 3.00 HR284.00
000200008 3.00 HR255.60
000200008 3.00 HR255.60
000200008 2.50 HR255.60
000200008 5.00 HR255.60
000200009 3.25 HR257.50
000200010 3.40 HR231.75
000200010 1.90 HR231.75
000200013 2.00 HR284.00
000200013 2.00 HR284.00
000200014 1.00 HR293.94
000200014 16.50 HR293.94
000200015 2.75 HR257.50
000200015 6.75 HR257.50
000200017 1.00 HR284.00
000200017 1.00 HR284.00
000200018 3.00 HR309.00
000200018 2.00 HR309.00
000200019 6.00 HR255.60
000200019 6.00 HR255.60