I saw a misplaced ",1" in my first message and wanted to make sure it didn't confuse you.
The ",1" I put after the RTRIM function was supposed to have been put after within the parantheses
of the RIGHT() function in that same paragraph.
Hope it didn't cause any grief.
==Carl
Carl J. WarnerVFUG OfficerThe early bird gets the worm, but the second mouse gets the cheese.