Hi,
I have a SharePoint list with around 3500 records. Each item has a status of "Loaned Out" or "Returned" There are around 230 items which are loaned out
What I would like to do is show all the "Loaned Out" items on a canvas app. I have 3 buttons which basically get the data, sort the data by name and sort data by product. This is all displayed in a datatable.
When I get the data I use
ClearCollect(myTest,Filter(Sort(Table_query,Status,Ascending),Status = "Loaned Out"))
The reason is that whenever I get the data it never gives me all the records of the loaned out items (I am assuming delegation is in play). So the above command is to first sort the data source so that I have all the loaned out items together and then just create the collection with Loaned out records
My 2nd button is to sort the data table by name for which I use the following command
ClearCollect(Results,Sort(myTest,Loaned_x0020_Out_x0020_To,Ascending))
My datatable items list shows the Results collection but it still does not show all the records of which there around 230. It only displays 59!
any ideas of why this is happening or a better way to do what I want?