?
Solved

how to return data in chronological order in Access

Posted on 2014-12-10
3
Medium Priority
?
179 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 143

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 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 2000 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

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

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

If you’re using QODBC to update QuickBooks data from Microsoft® Access but Access is not showing the updated data, you could have set up QODBC incorrectly.
Sometimes MS breaks things just for fun... In Access 2003, only the maximum allowable SQL string length could cause problems as you built a recordset. Now, when using string data in a WHERE clause, the 'identifier' maximum is 128 characters. So, …
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
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…
Suggested Courses

621 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