Skip to Content
0
Former Member
Apr 10, 2008 at 07:44 AM

output display problem in alignment

13 Views

i am displaying vendor wise purchase register details in my output i have many line items per each vendor.

i want to display vendor wise line items.

suppose AFTON CHEMICALS is coming 10 times in the output i want to display this with all line items.

example..

NAME AMOUNT BILLNO

AFTON CHEMICALS 10000 AS105

MUMBAI

400078

AFTON CHEMICALS 20000 AS106

MUMBAI

400078

AFTON CHEMICALS 30000 AS107

MUMBAI

400078

AFTON CHEMICALS 40000 AS108

MUMBAI

400078

AFTON CHEMICALS 50000 AS109

MUMBAI

400078

but now i am getting output as below.

AFTON CHEMICALS

MUMBAI

400078

10000 AS105

20000 AS106

30000 AS107

40000 AS108

50000 AS109

I want to display above output as below

AFTON CHEMICALS 10000 AS105

MUMBAI 20000 AS106

400078 30000 AS107

40000 AS108

50000 AS109

i have written code as following

loop at output.

on change of output-name1.

write:/output-name1,

/output-name2,

/output-ort01,

/output-pstlz.

endon.

write:/ output-amout, output-billno.

Pls suggest me how to display my line items infront of the name1 as i said above.

Pls suggest me its very urgent.