i m unable update the number field to the new autonumber field...
maybe im confused sorry~
Okay,
Table1 which has number field:
IDNum - Long Integer (PK)
Table 2 which has number field:
T2ID - Autonumber (PK)
IDNum - Long Integer (FK)
Now you want to change Table 1 to autonumber you would then add the new autonumber column, we'll call it IDANum:
Table1 which has number field:
IDANum - Autonumber
IDNum - Long Integer (PK)
So then we now have an autonumber field and the other field in Table 1.
Now, we need to update Table 2's IDNum, so we use an update query to change Table 2's IDNum to the new Autonumber which matches the IDNum in Table 1:
UPDATE Table1 INNER JOIN Table2 ON Table1.IDNum = Table2.IDNum SET Table2.IDNum = [Table1].[IDANum];
And then once Table2 (and any other table that is based on the IDNum of Table 1 is set) you can delete IDNum from Table1, leaving IDANum when you can then rename back to IDNum.