PC Review


Reply
Thread Tools Rate Thread

Accending month

 
 
=?Utf-8?B?Q2hleQ==?=
Guest
Posts: n/a
 
      19th May 2006
How do I get the month and year in accending order?
example January 2006, February 2006-December 2007
Thanks
Chey
 
Reply With Quote
 
 
 
 
=?Utf-8?B?V2F5bmUtaW4tTWFuY2hlc3Rlcg==?=
Guest
Posts: n/a
 
      19th May 2006
If your field is simply a date field with the days taken out then you will be
able to sort it by clicking the ascending or descending function on the query.

If your monthfield is Text and you use the ascending or descending options
then it will sort in alphabetical order

A simple work-around would be to add another field to the query and insert
something like

Month[NameOfMonthField] & " 1")

You can then sort THIS field to give you the month fields sorted as you want

Hope this helps

--
Wayne




"Chey" wrote:

> How do I get the month and year in accending order?
> example January 2006, February 2006-December 2007
> Thanks
> Chey

 
Reply With Quote
 
Ron2006
Guest
Posts: n/a
 
      19th May 2006
If the definition of the field is actually a date then simply sort the
field ascending.

 
Reply With Quote
 
=?Utf-8?B?Q2hleQ==?=
Guest
Posts: n/a
 
      19th May 2006
how can I turn this into a date field just showing the month and year?
The way you explained placed them in alphabetiacal order. But the years
were in the right order.
again I would like to see it Jan 05-Dec 05, Jan 06-Dec 06, Jan 07-Dec 07.
But have all the months actually spelled out in full.
Thanks for your time.
Chey

"Wayne-in-Manchester" wrote:

> If your field is simply a date field with the days taken out then you will be
> able to sort it by clicking the ascending or descending function on the query.
>
> If your monthfield is Text and you use the ascending or descending options
> then it will sort in alphabetical order
>
> A simple work-around would be to add another field to the query and insert
> something like
>
> Month[NameOfMonthField] & " 1")
>
> You can then sort THIS field to give you the month fields sorted as you want
>
> Hope this helps
>
> --
> Wayne
>
>
>
>
> "Chey" wrote:
>
> > How do I get the month and year in accending order?
> > example January 2006, February 2006-December 2007
> > Thanks
> > Chey

 
Reply With Quote
 
Pieter Wijnen
Guest
Posts: n/a
 
      19th May 2006
???
You should always use Date fields for Dates - NOT text Fields
However you can use a function to sort on (might be slow thouugh).
try the cvdate/CDATE function on your field to see if it helps

NMH

Pieter

BTW
Format(DateField,"mmmm/YYYY") would show months & year I presume - Check out
help on format for all listed variants (there are *many* more)

"Chey" <(E-Mail Removed)> wrote in message
news624938B-300A-4FE9-9E28-(E-Mail Removed)...
> how can I turn this into a date field just showing the month and year?
> The way you explained placed them in alphabetiacal order. But the years
> were in the right order.
> again I would like to see it Jan 05-Dec 05, Jan 06-Dec 06, Jan 07-Dec 07.
> But have all the months actually spelled out in full.
> Thanks for your time.
> Chey
>
> "Wayne-in-Manchester" wrote:
>
>> If your field is simply a date field with the days taken out then you
>> will be
>> able to sort it by clicking the ascending or descending function on the
>> query.
>>
>> If your monthfield is Text and you use the ascending or descending
>> options
>> then it will sort in alphabetical order
>>
>> A simple work-around would be to add another field to the query and
>> insert
>> something like
>>
>> Month[NameOfMonthField] & " 1")
>>
>> You can then sort THIS field to give you the month fields sorted as you
>> want
>>
>> Hope this helps
>>
>> --
>> Wayne
>>
>>
>>
>>
>> "Chey" wrote:
>>
>> > How do I get the month and year in accending order?
>> > example January 2006, February 2006-December 2007
>> > Thanks
>> > Chey



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Accending Search Option Sonbarse Microsoft Outlook Discussion 1 29th Jul 2009 03:34 PM
How do i plot two series of data both in accending order on a line MFM Microsoft Excel Charting 1 28th May 2009 09:14 AM
Accending order Sinner Microsoft Excel Misc 1 26th Feb 2008 09:04 PM
Data validation list in accending order Sinner Microsoft Excel Programming 0 26th Feb 2008 12:25 PM
accending sort in a form Microsoft Access Form Coding 3 15th Dec 2003 01:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:31 PM.