Marking addresses as preferred
- From: "Matthew" <mappleNOSPAMPLEASE@xxxxxxxx>
- Date: Wed, 2 Jan 2008 23:33:40 -0500
Hello,
Here's my structure:
tblClients
*ClientID
....
tblAddresses
*AddressID
....
tblClientAddresses
*ClientAddressID
ClientID
AddressID
Preferred (y/n)
I want to make sure that every client has no more than one preferred
address. I've identified those with more than one preferred, and it's a
small enough number that I can clean that up manually.
But what about clients who have one or more addresses, but none are marked
as preferred? How can I make sure that each unique client in
tblClientAddresses has at least one (and preferably only one) of their
addresses marked as Preferred?
Many thanks in advance!!
Matthew
.
- Follow-Ups:
- Re: Marking addresses as preferred
- From: John Spencer
- Re: Marking addresses as preferred
- From: Allen Browne
- Re: Marking addresses as preferred
- From: John W . Vinson
- Re: Marking addresses as preferred
- Prev by Date: Replacing Continents with Multiple Countries in an Access Table
- Next by Date: Re: query for financial year
- Previous by thread: Replacing Continents with Multiple Countries in an Access Table
- Next by thread: Re: Marking addresses as preferred
- Index(es):
Relevant Pages
|
Loading