I have the following code that sorts the table in ascending order by MakeName, ModelName, and VIN
rst.Open "Select * From " & tnm & " Order By MakeName, ModelName, VIN", CurrentProject.Connection, adOpenStatic, adCmdText
'tnm is my table name
I want to now add two more fields EffYear and EffMonth and have those then sorted in descending order.
How do I sort in both ascending and descending order?
rst.Open "Select * From " & tnm & " Order By MakeName, ModelName, VIN", CurrentProject.Connection, adOpenStatic, adCmdText
'tnm is my table name
I want to now add two more fields EffYear and EffMonth and have those then sorted in descending order.
How do I sort in both ascending and descending order?