Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Index, no duplicates, using three fields? 1

Status
Not open for further replies.

gusbrunston

Programmer
Feb 27, 2001
1,234
US
[tt]
Hi:

I need to prevent two (or more) users entering the same Client from a form into the Clients' table.

The ClientID field (no duplicates) doesn't help because the duplicate records just have an incrementing PK.

I'd like to index a combination of FirstName, MiddleInitial, and LastName. I know that's not perfect, but it's better than what I've got.

i.e., will this work?

------------------
FirstName |
MiddleInitial |> one index, no duplicates
LastName |
------------------

or?

Appreciate your suggestions. [glasses][tt] Gus Brunston - Access2000[/tt] Intermediate skills.
 
should work as long names are spelled the same way
look in to useing tel# as unique id
 
[tt]
Ah! Telephone number! Thanks very much. [glasses][tt] Gus Brunston - Access2000[/tt] Intermediate skills.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top