I have two tables. PAMMain has an AutoNumber field, DwgNumID. My other table, PAMInfo, originally didn't have a field that I could use to join via the DwgNumID. I have a problem where I need to create the DwgNumID field on my table PAMInfo so that I can use that field to join instead of the DwgNum field. Currently I am using the DwgNum field to join the two tables for a one-to-many join.
So I have tried an Update query to update the DwgNumID field on table PAMInfo to match the DwgNumID field from table PAMMain where the DwgNum field are equal between the two tables.
This is my query
UPDATE PAMInfo
SET DwgNumID = PAMMain.DwgNumID
WHERE PAMInfo.DwgNum = PAMMain.DwgNum
Any help would be appreciated.
Dave
So I have tried an Update query to update the DwgNumID field on table PAMInfo to match the DwgNumID field from table PAMMain where the DwgNum field are equal between the two tables.
This is my query
UPDATE PAMInfo
SET DwgNumID = PAMMain.DwgNumID
WHERE PAMInfo.DwgNum = PAMMain.DwgNum
Any help would be appreciated.
Dave