What is the type of the database field?
If its numeric then it will not show leading 0s. To store leading 0 it has to be char or similar.
Regards David R --------------------------------------------------------------- "Every program eventually becomes rococo, and then rubble." - Alan Perlis The only valid measurement of code quality: WTFs/minute.