Explorar el Código

statistic the merged particle while calculating the GB grid result.

GSP hace 1 mes
padre
commit
1310904a30
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      OTSCPP/OTSRptCalculate/DTL/IncADataDB.cpp

+ 1 - 1
OTSCPP/OTSRptCalculate/DTL/IncADataDB.cpp

@@ -250,7 +250,7 @@ namespace OTSSQLITE
 		}
 		
 		CString sSQLCommand;
-		sSQLCommand.Format(_T("SELECT * FROM \'%s\';"),
+		sSQLCommand.Format(_T("SELECT * FROM \'%s\' WHERE SubParticles is not 'IsSubParticle';"),
 			(LPCTSTR)tableInfoPtr->GetTableName());
 	
 		query = datastorePtr->QueryByCommand(sSQLCommand);