OSDN Git Service

master にまだ修正が必要でした
authoryamat0jp <terukohietori@gmail.com>
Mon, 20 Jan 2020 08:12:10 +0000 (17:12 +0900)
committeryamat0jp <terukohietori@gmail.com>
Mon, 20 Jan 2020 08:12:10 +0000 (17:12 +0900)
WebModuleUnit1.pas

index 57edfc1..5e9c27e 100644 (file)
@@ -1143,9 +1143,8 @@ begin
     s := Request.ContentFields.Values['delete'];
     with FDTable4 do
       if s = 'all' then
-        repeat
-          Delete;
-        until (Bof = true) and (Eof = true)
+        while not (Bof = true) and (Eof = true) do
+          Delete
       else
       begin
         First;