Hi,
I'm using VBA code to sort a table after writing out the fields but it doesn't seem to work for some reason. To be specific I want the table (tblLptRtgs) sorted by the fields Order_Number and Oper_Seq in ascending order. Here is my code:
db.OpenRecordset("Select * from tblLptRtgs order by [ORDER_NUMBER], [Oper_Seq] ascending ").
This line of code doesn't give me an error but it doesn't sort it either. Can anyone help me out please??
I'm using VBA code to sort a table after writing out the fields but it doesn't seem to work for some reason. To be specific I want the table (tblLptRtgs) sorted by the fields Order_Number and Oper_Seq in ascending order. Here is my code:
db.OpenRecordset("Select * from tblLptRtgs order by [ORDER_NUMBER], [Oper_Seq] ascending ").
This line of code doesn't give me an error but it doesn't sort it either. Can anyone help me out please??