Mike
Thanks,
I need to pad to a required length and this length is variable. Depends on how many characters out of 15 (field length) are populated on the table, the rest must be padded with '0' or spaces on extracting this data from the table.
Cheers
Sivi