Phil said:
I don't actually want to store the barcode in access, just the number.
You can't store the barcode. All you can store is the value
belonging to the barcode. All you are doing is using a font to
display the barcode digits/text. Think of it as a boring form of,
Wing Dings.
I'm using the barcode number as the primary key for a table, they're just 13
digit numbers, no text or other characters. Using single stores the number
ok, but I want it displayed as an integer, not in scientific notation.
A single stores 13 digits ok? I don't think so.
From the Access 97 help.
"Single
(single-precision floating-point) 4 bytes -3.402823E38 to
-1.401298E-45 for negative values; 1.401298E-45 to 3.402823E38 for
positive values
Double
(double-precision floating-point) 8 bytes -1.79769313486232E308
to -4.94065645841247E-324 for negative values; 4.94065645841247E-324
to 1.79769313486232E308 for positive values"
A double might work but you've only got one spare digit. Singles
and double fields may not index well either.
Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm