Hi all
I have a database with the following tables:
tblEquipment
tblSuppliers
tblManufacturers
tblEquipment_Type
tblModels
Each table has an Auto increment number field that is the ID for that table:
i.e. tblManufacturers has a Field called Manufacturer_ID
tblSuppliers has a Field called Supplier_ID
At present the only place where all these ID Fields 'come together' is in the table tblEquipment, as that holds every instance of every item of equipment.
However I want make up a new table called Identifiers that will bring all the ID Fields from each of the tables together..i.e. the new table will have the following fields:
Model_ID
Supplier_ID
Manufacturer_ID
Equipment_Type_ID
and I need to have it based on the Model_ID field of the Models table...
I tried creating the new table and added all the Model_ID's into it o.k. but then I just couldn't get all the related fields from the other tables to write to the table. I tried using INSERT INTO and I was hoping to do this one column at a time but it just kept failing all the time. I though it would be dead easy (isn't that always the way when you get stumped totally?)
Anyway any advise appreciated.
Cheers
Mike