Well it's the old "natural key/surrogate key" debate.. even if you choose
the surrogate key route, he'll probably want a unique constraint along the
lines of the PK I suggested. Addresses as part of keys or indexes are
always a bit of a hassle, I agree.
Generally, multi-field PKs are not really a problem unless you start having
child tables referencing these PKs. In those cases I go with the surrogate
PK every time.
Anne
"Tony Toews" <ttoews@telusplanet.net> wrote in message
news:9omhc0tv68lb33u8dmgedsa6l0tabbui9e@4ax.com...[color=blue]
> "Anne Nolan" <anolan1952NO_SPAM@AOL.COM> wrote:
>[color=green]
> >The primary key for your Tbl_Address table should be a composite primary[/color][/color]
key[color=blue][color=green]
> >(more than one field making up the key).[/color]
>
> Why?
>[color=green]
> >At a minimum, CustID plus your
> >street address. This gets tricky, though.. what if you have 2 John[/color][/color]
Smiths,[color=blue][color=green]
> >at 123 Main St., in 2 different cities? If that's a possibility, you'll
> >probably want to add City and State to the primary key fields.[/color]
>
> Yup, but I'd just as soon have a primary autonumber key on all tables.[/color]
Let the user[color=blue]
> decide if a duplicate address exists.
>
> Tony
> --
> Tony Toews, Microsoft Access MVP
> Please respond only in the newsgroups so that others can
> read the entire thread of messages.
> Microsoft Access Links, Hints, Tips & Accounting Systems at
>
http://www.granite.ab.ca/accsmstr.htm[/color]