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 » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Indexing



 
 
Thread Tools Display Modes
  #1  
Old March 17th, 2005, 02:38 AM
Andrew Wayne
external usenet poster
 
Posts: n/a
Default Indexing

In a data base design i have several fields in a table
including "ID"(AutoNumber) "LastName"(Text) and "Envelope
Number"(Number)

The indexes are LastName (ascending)(allow duplicates)
and Emvelope Number(ascending) (No duplicates allowed)

I have a combo box to Lookup the LastName, however the
records are not in alpha order. It seems to conflict by
having the index on Envelope Number. I understand I
could use the combo box and base it on a query, but when
I start the Combo Box Wizard, it does not give me the
choice to base the Combo on a query.
Thanks for any help
..
  #2  
Old March 17th, 2005, 06:06 PM
John Vinson
external usenet poster
 
Posts: n/a
Default

On Wed, 16 Mar 2005 18:38:48 -0800, "Andrew Wayne"
wrote:

I have a combo box to Lookup the LastName, however the
records are not in alpha order. It seems to conflict by
having the index on Envelope Number.


Unlike the case with some other database software, specifying an Index
does NOT sort the data. It merely makes any Query which you create
with a sort clause work faster.

I understand I
could use the combo box and base it on a query, but when
I start the Combo Box Wizard, it does not give me the
choice to base the Combo on a query.


Ummm... yes it does. When you are offered the data source, there are
three radio buttons below the list of tables: Tables, Queries, or
Both.


John W. Vinson[MVP]
 




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
improving performance by indexing query criteria fields Paul James General Discussion 20 February 16th, 2005 07:55 PM
improving performance by indexing query criteria fields Paul James Running & Setting Up Queries 20 February 16th, 2005 07:55 PM
Indexing Cindy M -WordMVP- General Discussion 0 January 16th, 2005 09:35 PM
Seaching through exchange 2000 with Full Text Indexing ON - BUG ? Neil Contacts 0 July 17th, 2004 06:14 AM
Indexing Al Camp New Users 2 May 8th, 2004 01:08 AM


All times are GMT +1. The time now is 01:03 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.