markedback
MIS
I have a table 'B' that is created (via a make table query) from another table 'A'.
A column (Text datatype) in table 'A' carries employee ID numbers. These numbers are supposed to be 5-digit numbers but some employees have 4-digit ID numbers. The ones with 4-digit ID numbers are recorded as 5-digit (with a leading zero) to satisfy the requirement of table 'A'.
Table 'B' is created to use ID numbers in actual form (4 or 5-digit) to run queries against another table 'C'.
If the actual number is 4-digit, the query returns an error when the 5-digit form is used as table 'C' doesn't recognize the 4-digit number with a leading zero.
Is there a way I can drop the leading zero in the make table query so that table 'B' has number in the actual form?
Thanks for your help.
Mark.