I know that I can select the Top or bottom N records, but is there a way to select for example records 10 through 20? Also is there is a way to build a calculated field that numbers the records. This would also be a solution.
I have to do this because of some work I am doing with sorting nodes in a Treeview. The ineloquent way I do it now is to have a node sort order field in my table. I create a recordset of my query, read each record, and then sequentially number the record in the table. I then open the query with each record sequentially numbered in my node sort order field. I can then grab records 10 through 20. This works fine, but I like to avoid looping through records whenever possible.
Thanks
I have to do this because of some work I am doing with sorting nodes in a Treeview. The ineloquent way I do it now is to have a node sort order field in my table. I create a recordset of my query, read each record, and then sequentially number the record in the table. I then open the query with each record sequentially numbered in my node sort order field. I can then grab records 10 through 20. This works fine, but I like to avoid looping through records whenever possible.
Thanks