>Thank's for your response, it works, but why alltrim?
>
I would use alltrim instead of ltrim for those rare (usually late at night working on a deadline with very little sleep *s*) occasions where I hit the space bar several times after I hit a valid entry and my return value would look like '00001 ' instead of '0000000001'. It's up to you.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao