Explorar o código

statistic the merged particle while calculating the GB grid result.

GSP hai 1 mes
pai
achega
1310904a30
Modificáronse 1 ficheiros con 1 adicións e 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);