M
maindaco via AccessMonster.com
I'm dealing with a problem and need the easiest solution as possible. I have
several tables which have one field in common, let's call it ProductCode,
which is set as "Text" since it use alphanumeric data. The data for the
tables is obtained and pasted from Excel, but, when a code starts wiht "0"
(zero), the code is shown as 3 digits (0473 is shown as 473).
What I need is to have the four digits displayed in the table (0 inclusive),
this is because I use the ProductCode to get information from other tables
and the other tables always shows the 4 digits, so when I try to find one
code with 3 digit only, information is not loaded.
By now, what I've used is several (15 for each table) Update Queries to add
"0" at the beginning to each possible ProductCode with 3 digits.
Is there an easy way to deal with that in one single step or less steps as
possible? Your suggestions are welcome.
several tables which have one field in common, let's call it ProductCode,
which is set as "Text" since it use alphanumeric data. The data for the
tables is obtained and pasted from Excel, but, when a code starts wiht "0"
(zero), the code is shown as 3 digits (0473 is shown as 473).
What I need is to have the four digits displayed in the table (0 inclusive),
this is because I use the ProductCode to get information from other tables
and the other tables always shows the 4 digits, so when I try to find one
code with 3 digit only, information is not loaded.
By now, what I've used is several (15 for each table) Update Queries to add
"0" at the beginning to each possible ProductCode with 3 digits.
Is there an easy way to deal with that in one single step or less steps as
possible? Your suggestions are welcome.