You mean in code?
I could use VBA and ADO statements but i have to know what to pass
I tried link attached but i failed - please see post #33 :
ALTER TABLE tblInvoices
ADD CONSTRAINT FK_Test FOREIGN KEY ([PK]) REFERENCES tblCustomers ([PK])
but this is relating only 1 to many...
Please help somebody how to write this.
Jacek
I could use VBA and ADO statements but i have to know what to pass

I tried link attached but i failed - please see post #33 :
ALTER TABLE tblInvoices
ADD CONSTRAINT FK_Test FOREIGN KEY ([PK]) REFERENCES tblCustomers ([PK])
but this is relating only 1 to many...
Please help somebody how to write this.
Jacek