Hi,
I have a form that uses sets a DAO.Recordset from a DAO.QueryDef. That recordset is then used to populate a Treeview. I want to set the recordset once, then use a recordsetclone and sort it based on different fields to repopulate the treeview.
I've used
but it doesn't seem to sort the field at all, I've checked using debug.print and by looking at how it populates the treeview... it seems random.
Thanks
I have a form that uses sets a DAO.Recordset from a DAO.QueryDef. That recordset is then used to populate a Treeview. I want to set the recordset once, then use a recordsetclone and sort it based on different fields to repopulate the treeview.
I've used
Code:
rst.Sort = "[Field] Asc"
Thanks