I am trying to open an ADODB recordset in a form and order by two elements, but it won't let me. It will order by one element, but not both. Any suggestion on how to modify the SQL in the form to sort by ARP ID first, then begindate?
Dim OpenLegStatSeq As ADODB.Recordset
Set OpenLegStatSeq = New ADODB.Recordset
OpenLegStatSeq.Open "SELECT * from LegalStatSeq ORDER BY LegalStatSeq.[ARP ID], LegalStatSeq.begindate asc;", CurrentProject.Connection, adOpenKeyset, adLockOptimistic
Dim OpenLegStatSeq As ADODB.Recordset
Set OpenLegStatSeq = New ADODB.Recordset
OpenLegStatSeq.Open "SELECT * from LegalStatSeq ORDER BY LegalStatSeq.[ARP ID], LegalStatSeq.begindate asc;", CurrentProject.Connection, adOpenKeyset, adLockOptimistic