MajP
You've got your good things, and you've got mine.
- Local time
- Yesterday, 23:33
- Joined
- May 21, 2018
- Messages
- 9,487
OOH I get it no wonder everyone was so confused. And even more importantly further emphasizes why you have to use an order by clause even if you table looks ordered.The problem was tblCnf was not sorted (as specified in the ORDER BY statement),
You set the OrderBy property of the table. In 20+ years of programming Access never done it, and never needed to. I do not look at tables, I look and use queries.
So for everyone else that was as confused as I, the OrderBy property is used when opening a datasheet view in the application. It is not read by DAO. You can test this yourself. I verified it does not effect a recordset. In the below table the orderby is set to FItemID and will be sorted when viewed in Access. It is not sorted in DAO and most likely ADODB.