B
bart.syryn
Guest
Hi, I have a question with batching and sorting a bindingsource and ultrawingrid. On a form I have a dataset, bindingsource and an ultrawingrid that is attached to that bindingsource. The lay-out of the bindingsource comes from a temp-table that is in an include. I've been able to add batching on the bindingsource, that works fine. But when I have the following piece of code in my program: ultraGridpost
isplayLayout:Bands[0]:Columns["plaats"]:SortIndicator = SortIndicator:ASCENDING. my batching isn't working anymore. In the query-prepare of the dataset I have the following code: "FOR EACH post BY plaats". So the query and the sorting of the ultragrid is the same. Why I set the sortindicator of the ultragrid is because the ultrawingrid uses the first index that is defined in the temp-table's definition. But I wan't the program to determine what the sorting order is (because it's stored in a table with user-preferences). My question is, why does the batching don't work when I add a sortindicator. Kind regards Bart
Continue reading...
Continue reading...