There are records with reference numbers in a column: 2021REP-FLT-001 2022REP-FLT-001 2022REP-MNT-002 2023REP-FLT-001 2023REP-OCC-002
How to sort the data by last 3 digits taking into account that the counter reset each year.
Kind regards.
Kevin Robertson
@Reply 3 years ago
In a query, use String Functions to get the values to be sorted.
Left function to get the year (First sort).
Right function to get the last 3 digits (Second Sort).
Dmytro AntoniukOP
@Reply 3 years ago
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Access Beginner 1.