Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Specific format of number

Status
Not open for further replies.

zrzr

Programmer
May 22, 2003
83
FR
Hi !

My problem can appear easy, but I'm working on it for two hours and I didn't find any solution...

I want to create a column in a table. This is a code, composed with exactly 5 numbers.

At the beggining, I used a numeric column, but if I do it, zeros are erased at beginning of code.And now, with a text one, I don't know how to check if all characters are numbers.

So, what should I do ???
 
Hi
If you look in design view, in the bottom half of the screen you should put '00000' (without the quotes) in the 'Input Mask' box.
This should sort it for you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top