I wanted to know if you could put something in the form script that allows sorting by a specific column. Something like this;
ThisForm.Components("MaterialDistributionsGrid").IDOCollection.Sort("UBSelected", False, False)
Thanks
Try this: ThisForm.CurrentIDOCollection.Sort("UBSelected", false, false);
Hi Rene,
Is there a way to sort by multiple columns?
For example, I need to sort by SupplierName ASC and InvoiceDate DESC.
Is it possible?
Thanks,
Kirill
Sub SortJobSummaryGrid()Dim oCache As IWSIDOCollection oCache = ThisForm.Components("JobSumGrid").IDOCollectionoCache.Sort("JobStartDate DESC, Job DESC", False, False)End Sub
Thanks J !