PDA

Click to See Complete Forum and Search --> : CR9 Report Labels add trailing dots


Always_Confused
Oct 14th, 2008, 08:45 AM
Hi All,

I do not know if this is possible. What I would like to do is add trailing dots programatically so that each text object box is the same length.

example:

Cost of Consumables ........ :
Total Cost ...................... :

I sure would be grateful if someone can tell me how to do this.

Thanks, AC

jggtz
Oct 14th, 2008, 01:36 PM
In order to obtain right results, you must use a fixed font (let's say Courier)
Here I use 50 characters, you can change it


Trim ({Table1.Field1})+ReplicateString (".",50-Length (Trim ({Table1.Field1})))


Other solution could be just add the dots and truncate the field at your needs using any font