Support 805.461.7300
Sales
Our Technology. Your Success.

Insert Commas into proper places within a number

Before running the command, pull down the Edit menu to Fields and make sure your field is wide enough to hold the command.

Replace all amount with IIF(LEN(ALLT(amount))>6 ,LEFT(ALLT(amount),LEN(ALLT(amount))-6)+","+SUBSTR(ALLT(amount),LEN(ALLT(amount))-5),ALLT(amount))
Replace all amount with IIF(LEN(ALLT(amount))>3,LEFT(ALLT(amount),LEN(ALLT(amount))-3)+","+SUBSTR(ALLT(amount),LEN(ALLT(amount))-2),ALLT(amount))

The command works with a field named Amount, so change the name of that field in the command to the field you're working with in your database.

« Back to Commands

Prior to Accuzip we used SAP Postalsoft. We looked for its replacement and chose Accuzip based on testimonials of how great customer service was and on pricing which was very attractive. Best move we've ever made in software and you folks live up to all the good things I heard. I still get calls every 6 months from FirstLogic ( a distributer of the old Postalsoft and others) to see if I'm still happy with Accuzip. I always say the same thing: Yes, very happy. Thanks for checking in.
B.H., Newtown, PA