I am trying to create a formula in Crystal Reports 8.5 using Visual Basic.
Require the Text field to have all carriage returns removed, but have not been able to get the 'replace' command to work. Note that I browsed the data field while in Crystal and see the CR as little black boxes!
The end result I am looking for is to have text print and wrap at approx. 30 characters, and then if necessary add a CR at end to ensure that the data fills even number of lines. So if last line of data writes to an odd line the CR will be added to force a blank line at bottom, which then keeps record use to even lines.
I am fairly new at programming and would really appreciate any help! Have tried using Crystal formulas with no luck, as fairly limiting. TY
Require the Text field to have all carriage returns removed, but have not been able to get the 'replace' command to work. Note that I browsed the data field while in Crystal and see the CR as little black boxes!
The end result I am looking for is to have text print and wrap at approx. 30 characters, and then if necessary add a CR at end to ensure that the data fills even number of lines. So if last line of data writes to an odd line the CR will be added to force a blank line at bottom, which then keeps record use to even lines.
I am fairly new at programming and would really appreciate any help! Have tried using Crystal formulas with no luck, as fairly limiting. TY