A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

compound index



 
 
Thread Tools Display Modes
  #1  
Old July 14th, 2004, 08:13 PM
taccea
external usenet poster
 
Posts: n/a
Default compound index

How do I creat a compound index?
I need to have an index that included 3 fields,
one is textual and the other two are numerical.

any guidance appreciated

taccea


  #2  
Old July 14th, 2004, 08:24 PM
Rick B
external usenet poster
 
Posts: n/a
Default compound index

While in table design view, hold down the CTRL key and click the fields.
Then click the "key" icon in your menu bar. You can use the view menu to
view "indexes" if you wish to see the compound key and change any of the
properties.

Rick B


"taccea" wrote in message
...
How do I creat a compound index?
I need to have an index that included 3 fields,
one is textual and the other two are numerical.

any guidance appreciated

taccea



  #3  
Old July 14th, 2004, 08:37 PM
Roger Carlson
external usenet poster
 
Posts: n/a
Default compound index

If you want to make a compound Primary Key (and I suspect that IS what you
were asking), the way Rick described is what you need to do.

However, if you already have a PK and you want a *separate* compound index,
you have to do something different.

Open the table in Design View. Click the Indexes button (it has a lightning
bolt on it). Go to the bottom of the list to a blank line and type a name
in the IndexName column. Then select a field to index. Now, on the next
line, choose another field WITHOUT giving it an index name. Do the same for
the last field. This will create a compound index.

If you select the first line in the index, you can set properties for the
index like: Unique or Ignore Nulls. If you click any other line in the
index, these options won't be available.

--
--Roger Carlson
www.rogersaccesslibrary.com
Reply to: Roger dot Carlson at Spectrum-Health dot Org



"taccea" wrote in message
...
How do I creat a compound index?
I need to have an index that included 3 fields,
one is textual and the other two are numerical.

any guidance appreciated

taccea




  #4  
Old July 15th, 2004, 05:42 AM
taccea
external usenet poster
 
Posts: n/a
Default compound index

Gracias !!

taccea
"Rick B" wrote in message
...
While in table design view, hold down the CTRL key and click the fields.
Then click the "key" icon in your menu bar. You can use the view menu to
view "indexes" if you wish to see the compound key and change any of the
properties.

Rick B


"taccea" wrote in message
...
How do I creat a compound index?
I need to have an index that included 3 fields,
one is textual and the other two are numerical.

any guidance appreciated

taccea





  #5  
Old July 15th, 2004, 05:44 AM
taccea
external usenet poster
 
Posts: n/a
Default compound index

Gracias !!!

Taccea
"Roger Carlson" wrote in message
...
If you want to make a compound Primary Key (and I suspect that IS what you
were asking), the way Rick described is what you need to do.

However, if you already have a PK and you want a *separate* compound

index,
you have to do something different.

Open the table in Design View. Click the Indexes button (it has a

lightning
bolt on it). Go to the bottom of the list to a blank line and type a name
in the IndexName column. Then select a field to index. Now, on the next
line, choose another field WITHOUT giving it an index name. Do the same

for
the last field. This will create a compound index.

If you select the first line in the index, you can set properties for the
index like: Unique or Ignore Nulls. If you click any other line in the
index, these options won't be available.

--
--Roger Carlson
www.rogersaccesslibrary.com
Reply to: Roger dot Carlson at Spectrum-Health dot Org



"taccea" wrote in message
...
How do I creat a compound index?
I need to have an index that included 3 fields,
one is textual and the other two are numerical.

any guidance appreciated

taccea






 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
find keywords Tennessee picker General Discussion 1 July 7th, 2004 06:23 AM
Prevent Dups in One-To-Many Relationship Tom Database Design 4 June 9th, 2004 03:53 AM
Indexing - Global refresh/deletion of index marks Ray Cleere Formatting Long Documents 2 April 30th, 2004 04:31 PM
Indexing - Global refresh/deletion of index marks Ray Cleere Formatting Long Documents 0 April 30th, 2004 10:46 AM
compound sum interest factor function? joeleandri Worksheet Functions 5 November 26th, 2003 07:28 PM


All times are GMT +1. The time now is 09:19 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.