Re: Question about modeling
From: Tony Andrews <andrewst_at_onetel.com>
Date: 25 Jan 2005 08:18:36 -0800
Message-ID: <1106669916.668857.102480_at_f14g2000cwb.googlegroups.com>
Date: 25 Jan 2005 08:18:36 -0800
Message-ID: <1106669916.668857.102480_at_f14g2000cwb.googlegroups.com>
Mathieu Pagé wrote:
> Hi, I have this model:
>
> DEPARTMENTS (dp_id, cl_id, dp_otherStuff)
> CLIENT (cl_id, cl_otherStuff)
> CONTRACT (cn_id, cn_details)
> DEPTS_CONTRACT_LINK (dp_id, cn_id)
>
> Now I want to add this constraint : As I have said each contract can
be
> associated with one or more departments, but I want that all those
> departments belongs to the same client. In other words, departments
can
> share contract, but clients can not.
>
> How can I do this ?
But I don't suppose Access supports anything so complex. This is probably something that you will unfortunately have to enforce via application code. Received on Tue Jan 25 2005 - 17:18:36 CET
