From c316aa9164b88726b236a53c2205ec807b4c4ec8 Mon Sep 17 00:00:00 2001 From: "Infineon\\StieberD" Date: Mon, 15 Sep 2025 12:31:13 -0700 Subject: [PATCH] Swapped Count with DCount --- LSL2/STPROC/WO_MAT_QA_SERVICES.txt | 15 +++++++-------- LSL2/STPROC/WO_MAT_SERVICES.txt | 1 + 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/LSL2/STPROC/WO_MAT_QA_SERVICES.txt b/LSL2/STPROC/WO_MAT_QA_SERVICES.txt index 718efa0..90ea156 100644 --- a/LSL2/STPROC/WO_MAT_QA_SERVICES.txt +++ b/LSL2/STPROC/WO_MAT_QA_SERVICES.txt @@ -420,14 +420,14 @@ end service Service GetQAMetComplete(WOMatKey) - + If WOMatKey NE '' then If Rowexists('WO_MAT_QA', WOMatKey) then - Response = '' - QAMetRec = Database_Services('ReadDataRow', 'WO_MAT_QA', WOMatKey, '', True$, 0, False$) - Stages = QAMetRec - Results = QAMetRec - StageCount = Count(Stages, @VM) + Response = '' + QAMetRec = Database_Services('ReadDataRow', 'WO_MAT_QA', WOMatKey, '', True$, 0, False$) + Stages = QAMetRec + Results = QAMetRec + StageCount = DCount(Stages, @VM) For I = 1 to StageCount If Results<1,I> EQ '' then Response = False$ @@ -449,7 +449,7 @@ end service Service GetMUWaferQAComplete(WOMatKey) - + If WOMatKey NE '' then Response = True$ WOMatRec = Database_Services('ReadDataRow', 'WO_MAT', WoMatKey, True$, 0, False$) @@ -495,4 +495,3 @@ Service GetMUWaferQAComplete(WOMatKey) end service - diff --git a/LSL2/STPROC/WO_MAT_SERVICES.txt b/LSL2/STPROC/WO_MAT_SERVICES.txt index 34b1b4c..fdda4b2 100644 --- a/LSL2/STPROC/WO_MAT_SERVICES.txt +++ b/LSL2/STPROC/WO_MAT_SERVICES.txt @@ -699,3 +699,4 @@ end service +