0

`delete select …` blocks the app

iOS App Version 3.19.12

The "Button" button has the following command in its "on Click" event:

```

delete select 'Ernährungsprotokoll' where not Futtermittel

```

After the event is triggered, the app freezes and continuously displays a spinner.

2 replies

null
    • John_Halls
    • 4 days ago
    • Reported - view

    I would try the select on its own, and see if that hangs. How many records does it return?

    Also try a delete select on a small test table, and maybe split the command into two lines and delete a few records at a time, repeating until all the records have gone

    let a := select 'Ernährungsprotokoll' where not Futtermittel;
    delete slice(a, 0, 10)

    Regards John

      • andreas_boettger
      • 3 days ago
      • Reported - view

       The problem has been resolved. The entries were read-only because the “Deletable if” formula returned `false`. Still, the app’s behaviour in this situation isn’t ideal.

Content aside

  • 3 days agoLast active
  • 2Replies
  • 28Views
  • 2 Following