Click here to Skip to main content
15,895,462 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
This is my code for printing a receipt in my program. The problem is when I order 1 item, the receipt prints that item multiple times in that OR, only the item, price, quantity, amount are duplicated.
to be exact only the details are duplicated.

How can I fix this problem?
orn  = allt(thisform.pageframe1.page1.text10.value)
SET DEVICE TO PRINTER
SET CONSOLE OFF
sele 36
set order to orno
report form cantrcptfinCS  to PRINTER FOR CANTCRFLEcs.orno=orn  

Can someone help me.

Thanks
Posted
Updated 2-Feb-11 18:47pm
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900