You don't need to - just import them into a text field (as that's what
they
are).
You can use an update query to update the text to add the leading zero if
you want (but what's the point)
Create a new Text field in your table (called it NewTextField)
UPDATE TableName SET TableName.NewTextField = "0" &
[TableName]![NewTextField]
WHERE ((Len([TableName]![NumberField])=4));
--
Wayne
Manchester, England.
William said:
I converted the numbers to text in design. The problem then is that
Access
scatters all the 4-digit numbers througout the field like this:
11112
1113
11114
21111
21112
21113
2114
21115
Is there a way to avoid having to hunt for all these 4-digit numbers
and add
a zero at the front after converting the field to text?
--
William
:
Some of these numbers began with 0
Number can't begin with 0, you could import them into a text field
--
Wayne
Manchester, England.
:
I have a table that imported a field from an Excel file with
5-digit numbers.
Some of these numbers began with 0 in the Excel file, but in the
Access
import show as 4-digit numbers, having dropped the 0 at the
beginning.
How can I get that 0 to show in Access?