I have two tables that I need to merge into one table. One table has the following fields:
My first table is a Select Distinct table from my second table
id (autonumber primary key), Bill_No, Equip_Int, Equip_Nbr, Repair_Dt, Repair_Order_No, SumOfAmt_Billed
My second table unfortunately has a concatenated primary key
Bill_No, Equip_Int, Equip_Nbr, Repair_Dt, Repair_Order_No, Amt_Billed - with the first 4 fields being concatenated fields as primary key in this table.
So my third table would be
id, Bill_No, Equip_Int, Equip_Nbr, Repair_Dt, Repair_Order_No, Amt_Billed
Any help would be greatly appreciated. I basically want to add the autonumber primary key that I have given my summary table to the third table. But the third table will have to use the same concatenated primary key of the second table because the id field will not be unique in the third table.
Thanks,
jlcford
My first table is a Select Distinct table from my second table
id (autonumber primary key), Bill_No, Equip_Int, Equip_Nbr, Repair_Dt, Repair_Order_No, SumOfAmt_Billed
My second table unfortunately has a concatenated primary key
Bill_No, Equip_Int, Equip_Nbr, Repair_Dt, Repair_Order_No, Amt_Billed - with the first 4 fields being concatenated fields as primary key in this table.
So my third table would be
id, Bill_No, Equip_Int, Equip_Nbr, Repair_Dt, Repair_Order_No, Amt_Billed
Any help would be greatly appreciated. I basically want to add the autonumber primary key that I have given my summary table to the third table. But the third table will have to use the same concatenated primary key of the second table because the id field will not be unique in the third table.
Thanks,
jlcford