Solved

how to return data in chronological order in Access

Posted on 2014-12-10
3
171 Views
Last Modified: 2014-12-10
Can an Expert provide the solution to my question on Access please.

Each day data is entered in an Access Database through a Form and 'notes' are included with the date of entry

When we open an item we need the Notes to be displayed in order but for some reason they are not.

i.e. they are in this order.

05/12/14
08/12/14
09/12/14
02/12/14

How do I change this so that 02/12/14 would be the first entry

Thanks
0
Comment
Question by:Jagwarman
  • 2
3 Comments
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 40490759
you have to apply the ORDER BY date_entry_field in the relevant query that displays the data
0
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 40490764
note: the field data type shall the date/datetime, otherwise (if its text), the ordering will not work correctly
you can read up in general in this article, though the functions as such are named differently in ms access, the principle is exactly the same: http://www.experts-exchange.com/Database/Miscellaneous/A_1499-DATE-and-TIME-don%27t-be-scared-and-do-it-right-the-first-time.html
0
 

Author Comment

by:Jagwarman
ID: 40490765
Thanks Guy
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question