Click here to Skip to main content
14,421,405 members
Rate this:
Please Sign up or sign in to vote.
See more: (untagged)
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 19:47pm
v3

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100