I'm having trouble understanding your relationship between the two tables. The foreign key to Type from Client must have the same columns as the primary key for Type, otherwise there is no way to create a relationship. The composite-id columns MUST match the foreign key columns, AFAIK.
Try putting a surrogate key (sequence number ID) on the type table, and then use that as the foreign key on the Client table for the type column. You can then create a many-to-one to the Type. Conversely, add all of the Type primary key columns as a foreign key on the Client.
Hope this helps.
|