Hi I'm using a twwdbgrid along with a twwfilterdialog. When i click on the title buttons on the grid I want to sort. So I need to close and reopen the query. This then clears the filter. I'm using filtermethod byfilter. I've tried saving off the fieldinfo and reapplying that using
lFieldInfo := TList.Create;
CopyList(dlgFilterImages.FieldInfo, lFieldInfo);
..do work..
dlgFilterImages.FieldInfo.Assign(lFieldInfo);
dlgFilterImages.ApplyFilter;
But i'm getting an error. What is the best way to do this?
Thanks