If you find that the results of your grouped datwindow are incorrect then you may have to call the GroupCalc() funtion. This is usually if you alter the data in a datawindow after a retrieve or use an external datasource.