Yes, but those "numbers" are not "real numbers", in that you cannot (or,
better, do not) perform arithmetical operations on them. You don't add up
a column of invoice numbers, or BSBs, or whatever. They are identifiers,
which happen to use a subset of the numeric characters; in a database,
it's generally better to store them as text. If you store them as numeric
fields, you CAN perform numeric operations on them, but the results will
always be meaningless; and you'll be forced to use a Format function to
convert them to text to display as required.
Rob
Dominic said:
Yes, but invoice numbers, model numbers, some postcodes and other
registration numbers can have leading zeros. Oh my, I just noticed
my bank BSB number also has a leading zero.
Dom
raskew via AccessMonster.com said:
But, the bottom line is 'real numbers' don't have leading zeros.
Bob
Dominic Vella wrote:
Generally, it always best to put numbers (such as phone numbers)
into text fields unless you are specifically doing some
calculations on it. In forms and reports, you can put 0000000 into the
format property
of the text boxes. Whilst not encouraged, you could also put the
0000000 into the
format property in the tables ClinicNumber field.
If you're using it in a programming manner, you would use:
=Format([ClinicNumber],"0000000")
Dom
Hi,
[quoted text clipped - 9 lines]
Thanks
Chi