L
Laura Stern
Guest
Let me clarify a couple of things. You said "ultrawingrid always uses the first index (plaats) to sort the data." That is not a true statement. The ultrawingrid does not know anything about the indexes in your temp-table. Furthermore, the grid, without the sortindicator set, is not doing any sorting on your records. The sort is happening solely in the ABL. The order of records in the query is the order in which the records are fed to the grid when the grid asks for rows of data. I believe that when you set the sortindicator, then the grid is now trying to do a sort. So I think it asks for records and gets the first batch. The grid thinks that is all the records there are in the query and it sorts them. From there on, that's all you will see. I still don't understand why you are setting the sortindicator at all. Your original explanation did not make sense to me. If it works without it just don't set it.
Continue reading...
Continue reading...