03-08-2006 03:21 PM
03-08-2006 04:18 PM
03-08-2006 04:22 PM
Right from the Access help is:
SELECT fieldlist
FROM table
WHERE selectcriteria
[ORDER BY field1 [ASC | DESC ][, field2 [ASC | DESC ]][, ...]]]
ASC is return the data in ascending order and DESC is descending order. If you are having a problem with a query, you should post the query that you are using. You can also design the query in Access, run it, and then display the SQL syntax.
03-09-2006 09:06 AM
Hello,
Thanks for all the insight.
This is my Access table:
03-09-2006 09:06 AM
Hello,
Thanks for all the insight.
This is my Access table:
03-09-2006 09:06 AM
Hello,
Thanks for all the insight.
This is my Access table:
03-09-2006 09:14 AM
Nothing was attached.
As Dennis said, you can design the query in Access and then change the view to the SQL view to see how the query should be written. If it works, you can copy and paste the text inside LV. If it doesn't, there is probably something wrong in the way you designed it.
03-09-2006 09:34 AM
03-09-2006 09:44 AM
03-09-2006 10:05 AM - edited 03-09-2006 10:05 AM
Thanks for helping. I appreciate your input and time.
I have attached what I have seen and it does not show the sql query although I have done as you suggested.
I have also pasted a little of the table: jenny and the fields that I am sorting in ascending and descending order by sql.
Message Edited by roboticstudent on 03-09-2006 10:05 AM