Skip to Content
0
Former Member
Jan 21, 2008 at 02:32 AM

Padding a field out with spaces to s set length

320 Views

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.