Crystal 8.5
Here is my formula:
-----------------------------
If {MiscChg.PayAmt} > 0
then
space(5)+Cstr({MiscChg.Units},0,""+space(8)+{@ConvertUnitCodeToWord}+space(8)+{MiscChg.Descr}+space(8)+Cstr({MiscChg.PayAmt})
------------------------------
I have two problems:
1. MiscChg.Descr is not a fixed length so the PayAmt is not aligned vertically. How do I fix the length of the Descr?
2. When the PayAmt is zero, it prints a blank line. How can I prevent this?
Thank you!
Here is my formula:
-----------------------------
If {MiscChg.PayAmt} > 0
then
space(5)+Cstr({MiscChg.Units},0,""+space(8)+{@ConvertUnitCodeToWord}+space(8)+{MiscChg.Descr}+space(8)+Cstr({MiscChg.PayAmt})
------------------------------
I have two problems:
1. MiscChg.Descr is not a fixed length so the PayAmt is not aligned vertically. How do I fix the length of the Descr?
2. When the PayAmt is zero, it prints a blank line. How can I prevent this?
Thank you!