COMPANY + ACCOUNTCODE + STR(10^16 - DUEAMOUNT)
or something close to that. You can do that date the same way.? str(10^16 - 12345678.97) >? str(10^16 - 12345678.98)<pre>I'd suggest this:<pre>COMPANY + ACCOUNTCODE + STR(0 - dueamount, 15, 2)Duh. Mine won't work either, since the resulting leading "-" when dueamount starts positive will come *after* a blank space when dueamount starts negative.