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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Indexed field

Status
Not open for further replies.

sabavno

Programmer
Jul 25, 2002
381
0
0
CA
Hi

I have a table of 80000 records. I have EmpID as a primary key. But I also need LastName to be indexed in order to speed up my query.
Can two fields be indexed? How do I do that?

Thanks
 
Sabavno,

This can be done easily. Go into design view on your table, and select the last name field. In the bottom left corner of the screen will be a row that says "Indexed". Change this to Yes (Duplicates OK), and save your table.

HTH,

Griz

 
The thing is that LastName may be duplicated (two same names)

Can we still index that field?
 
Yes...

That is why you are selecting Indexed(Duplicates OK).

Griz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top