talmond
10-03-05, 09:13
I have created 2 basic files
A Vendor file and an Activity file.
I want to create a link file with a many to many relationship.
That is a Vendor can be linked to many activities and an Activity can be linked to many vendors.
I. E.
VendorA <--> ActivityA
VendorA <--> ActivityB
VendorB <--> ActivityA
VendorB <--> ActivityB
I create my link file with a Vendor Field and a Activity Field but it allows me to create multiple entries as I really want the unique key on the concatenated values of Vendor Field and Activity Field which it doesn't allow me to do. Therefore I end up with duplicate records in my link file.
I know this is a very basic problem but I see no simple solution for us dunderheads.
Thanks Ted
A Vendor file and an Activity file.
I want to create a link file with a many to many relationship.
That is a Vendor can be linked to many activities and an Activity can be linked to many vendors.
I. E.
VendorA <--> ActivityA
VendorA <--> ActivityB
VendorB <--> ActivityA
VendorB <--> ActivityB
I create my link file with a Vendor Field and a Activity Field but it allows me to create multiple entries as I really want the unique key on the concatenated values of Vendor Field and Activity Field which it doesn't allow me to do. Therefore I end up with duplicate records in my link file.
I know this is a very basic problem but I see no simple solution for us dunderheads.
Thanks Ted