RE: Record Sorting
- From: KARL DEWEY <KARLDEWEY@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 5 Feb 2008 09:10:03 -0800
ascending orderI Created a query which represents a table and on two fields set as
Ascending means the values get larger as you go down the list. To haveNo Good when i open a form and i a want the latest record to apppear at the end
latest at top you need descending - larger - lower.
Your number format will do neither as it is as you have the most significant
digits, 07 & 08 as the right most character.
Use a calculated field like this ---
Year: Right([ProjectQNo], 2)
And then sort on the ProjectQNo field place to the right of the calculated
field.
--
KARL DEWEY
Build a little - Test a little
"dan.cawthorne@xxxxxxxxx" wrote:
Hello and good morning,.
can some help me in where i am going wrong,
I'm trying to sort records in a certain way, but its not working,
I Created a query which represents a table and on two fields set as
ascending order
the first column i had was called ProjectQNo: Which has numbers such
as Q077707 but when i hit the year 2008 the QNo was set to Q000108
What happened was all the Qno Numbers lower than say Q077707 where but
at the top of the table. No Good when i open a form and i a want the
latest record to apppear at the end
so i created a Query and Created a ProjectYear Field and had the
Date() format so it created the date automactily and the sorted
projects by ProjectYear: and then By ProjectQNo:
Was Working great untill the 02/02/08 its now its all the projects
created on or after the 02/02/08 in middle of all the January
Projects.
Whats Happening?
- References:
- Record Sorting
- From: dan.cawthorne@xxxxxxxxx
- Record Sorting
- Prev by Date: Re: Check for Existing Else go to New
- Next by Date: notinlist event gives error
- Previous by thread: Re: Record Sorting
- Next by thread: Re: Record Sorting
- Index(es):