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

Adding customers in alaphbetical order



 
 
Thread Tools Display Modes
  #1  
Old October 4th, 2006, 11:29 AM posted to microsoft.public.access.forms
Natasha
external usenet poster
 
Posts: 83
Default Adding customers in alaphbetical order

I want to add new customers in alaphabetical order instead of the new
customers going to the end of the list. Is this possible.

Natasha
  #2  
Old October 4th, 2006, 12:20 PM posted to microsoft.public.access.forms
Wayne-I-M
external usenet poster
 
Posts: 3,674
Default Adding customers in alaphbetical order

Hi Natasha

You can't. You may have a new customer (Mr Smith) today and add him to your
DB and in the morning you may get another new customer (Mr Jones) and add him
to the DB.

You can view the details in a query and sort the query by the surname and
first name so that Mr John Smith will be above Mr Wayne Smith (who will be
above Mr Mike Smith.

Hope this helps

--
Wayne
Manchester, England.
Enjoy whatever it is you do


"Natasha" wrote:

I want to add new customers in alaphabetical order instead of the new
customers going to the end of the list. Is this possible.

Natasha

  #3  
Old October 4th, 2006, 12:20 PM posted to microsoft.public.access.forms
Douglas J. Steele
external usenet poster
 
Posts: 9,313
Default Adding customers in alaphbetical order

That's not how relational databases work. Tables are essentially unordered
sacks of data: what you add to the table gets put wherever Access thinks is
the best fit.

The only way to ensure that records are displayed in a particular order is
to create a query with an appropriate Where clause. You can then use the
query wherever you would otherwise have used the table.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"Natasha" wrote in message
...
I want to add new customers in alaphabetical order instead of the new
customers going to the end of the list. Is this possible.

Natasha



  #4  
Old October 4th, 2006, 12:36 PM posted to microsoft.public.access.forms
Wayne-I-M
external usenet poster
 
Posts: 3,674
Default Adding customers in alaphbetical order

ooops - sorry

Wayne Smith would not be above Mike Smith if the surname "and" the firstname
were sorted.

Need more coffee


--
Wayne
Manchester, England.
Enjoy whatever it is you do


"Wayne-I-M" wrote:

Hi Natasha

You can't. You may have a new customer (Mr Smith) today and add him to your
DB and in the morning you may get another new customer (Mr Jones) and add him
to the DB.

You can view the details in a query and sort the query by the surname and
first name so that Mr John Smith will be above Mr Wayne Smith (who will be
above Mr Mike Smith.

Hope this helps

--
Wayne
Manchester, England.
Enjoy whatever it is you do


"Natasha" wrote:

I want to add new customers in alaphabetical order instead of the new
customers going to the end of the list. Is this possible.

Natasha

  #5  
Old October 4th, 2006, 01:37 PM posted to microsoft.public.access.forms
David F Cox
external usenet poster
 
Posts: 493
Default Adding customers in alaphbetical order

I think more coffee is needed all round - and ORDER BY clause is used in a
query to sort records, the WHERE clause selects records that meet a
particular condition.



"Douglas J. Steele" wrote in message
...
That's not how relational databases work. Tables are essentially unordered
sacks of data: what you add to the table gets put wherever Access thinks
is the best fit.

The only way to ensure that records are displayed in a particular order is
to create a query with an appropriate Where clause. You can then use the
query wherever you would otherwise have used the table.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"Natasha" wrote in message
...
I want to add new customers in alaphabetical order instead of the new
customers going to the end of the list. Is this possible.

Natasha






  #6  
Old October 4th, 2006, 01:55 PM posted to microsoft.public.access.forms
Douglas J. Steele
external usenet poster
 
Posts: 9,313
Default Adding customers in alaphbetical order

Oops! You're right, of course. blush

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"David F Cox" wrote in message
...
I think more coffee is needed all round - and ORDER BY clause is used in a
query to sort records, the WHERE clause selects records that meet a
particular condition.



"Douglas J. Steele" wrote in message
...
That's not how relational databases work. Tables are essentially
unordered sacks of data: what you add to the table gets put wherever
Access thinks is the best fit.

The only way to ensure that records are displayed in a particular order
is to create a query with an appropriate Where clause. You can then use
the query wherever you would otherwise have used the table.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"Natasha" wrote in message
...
I want to add new customers in alaphabetical order instead of the new
customers going to the end of the list. Is this possible.

Natasha








  #7  
Old October 4th, 2006, 02:51 PM posted to microsoft.public.access.forms
Klatuu
external usenet poster
 
Posts: 7,074
Default Adding customers in alaphbetical order

yep, coffee & beer


"Douglas J. Steele" wrote:

Oops! You're right, of course. blush

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"David F Cox" wrote in message
...
I think more coffee is needed all round - and ORDER BY clause is used in a
query to sort records, the WHERE clause selects records that meet a
particular condition.



"Douglas J. Steele" wrote in message
...
That's not how relational databases work. Tables are essentially
unordered sacks of data: what you add to the table gets put wherever
Access thinks is the best fit.

The only way to ensure that records are displayed in a particular order
is to create a query with an appropriate Where clause. You can then use
the query wherever you would otherwise have used the table.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"Natasha" wrote in message
...
I want to add new customers in alaphabetical order instead of the new
customers going to the end of the list. Is this possible.

Natasha








  #8  
Old October 4th, 2006, 08:01 PM posted to microsoft.public.access.forms
Natasha
external usenet poster
 
Posts: 83
Default Adding customers in alaphbetical order

Thanks for that guys
Enjoy coffee / beer


"David F Cox" wrote:

I think more coffee is needed all round - and ORDER BY clause is used in a
query to sort records, the WHERE clause selects records that meet a
particular condition.



"Douglas J. Steele" wrote in message
...
That's not how relational databases work. Tables are essentially unordered
sacks of data: what you add to the table gets put wherever Access thinks
is the best fit.

The only way to ensure that records are displayed in a particular order is
to create a query with an appropriate Where clause. You can then use the
query wherever you would otherwise have used the table.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"Natasha" wrote in message
...
I want to add new customers in alaphabetical order instead of the new
customers going to the end of the list. Is this possible.

Natasha







 




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


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