dburrows1278
Technical User
I'm creating a fixed width report for a client and on occasion there are quantities that break the width rule in their requirement. In this instance, I need the quantities split in half and inserted in twice.
The report looks like this, all done with a cursor:
-----header line-----
---dtl line item-----
---dtl line item-----
---dtl line item-----
---dtl line item-----
----end--------------
I just don't know how to say if the length of quantity is greater than 4, repeat this line twice while doing the insert. Any ideas?
The report looks like this, all done with a cursor:
-----header line-----
---dtl line item-----
---dtl line item-----
---dtl line item-----
---dtl line item-----
----end--------------
I just don't know how to say if the length of quantity is greater than 4, repeat this line twice while doing the insert. Any ideas?