First my code :
UPDATE adr SET UniCde = (SELECT Unicde FROM adr_cross WHERE adr.AddressID = adr_cross.AddressID)
As long as the primery key of table 'adr_cross' is 'AddressID' everything works fine. When I change the primery key into 'UniCde' i'v got no result.
Is there a way to update my table with 'UniCde' as primery Key ?
Erik Verstichel
Panalpina World Transport.
Antwerp, Belgium
UPDATE adr SET UniCde = (SELECT Unicde FROM adr_cross WHERE adr.AddressID = adr_cross.AddressID)
As long as the primery key of table 'adr_cross' is 'AddressID' everything works fine. When I change the primery key into 'UniCde' i'v got no result.
Is there a way to update my table with 'UniCde' as primery Key ?
Erik Verstichel
Panalpina World Transport.
Antwerp, Belgium