on 01-21-2008 2:32 AM
Post Author: danish
CA Forum: Formula
Hi,
I'm new at using Crystal Reports.
I am trying to pad a string out to a set length of 50. The initial string is of variable size depending on the data in the field.
Can anyone tell me how I can do this using a while do loop.
ie while field length < 50 add a space to field until field length = 50.
Post Author: danish
CA Forum: Formula
Thanks for that. Managed to work out how to do with while do but this will be helpful for future.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Post Author: Jagan
CA Forum: Formula
No need to loop, use ReplicateString.left({table.field} & ReplicateString(" ", 50), 50)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.